* how to overwrite the locally modified file?
@ 2016-05-31 5:22 kokamoto
2016-05-31 8:38 ` [9front] " cinap_lenrek
0 siblings, 1 reply; 3+ messages in thread
From: kokamoto @ 2016-05-31 5:22 UTC (permalink / raw)
To: 9front
Sorry, my most primitive question on hg update.
I dispatched the command sysupdate without -i option before,
then, I dont't know what files were changed.
How can I overwrite the locally modified file by the mercurial deposite
file?
9front's fqa says something like:
hg update -C --clean
Is this work in the above case?
Kenji
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] how to overwrite the locally modified file?
2016-05-31 5:22 how to overwrite the locally modified file? kokamoto
@ 2016-05-31 8:38 ` cinap_lenrek
2016-05-31 8:51 ` kokamoto
0 siblings, 1 reply; 3+ messages in thread
From: cinap_lenrek @ 2016-05-31 8:38 UTC (permalink / raw)
To: 9front
i wouldnt go that drastic... rather, just figure out what has been
changed and then revert that manually, so you know what is going on.
# bind the .hg directory to root, so the hg commands will work
bind -ac /dist/plan9front /
# what has been changed
hg status -m
# check differences
hg diff
# revert specific file
hg revert somefile.c
# revert all files in current directory
hg revert .
--
cinap
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] how to overwrite the locally modified file?
2016-05-31 8:38 ` [9front] " cinap_lenrek
@ 2016-05-31 8:51 ` kokamoto
0 siblings, 0 replies; 3+ messages in thread
From: kokamoto @ 2016-05-31 8:51 UTC (permalink / raw)
To: 9front
So, I have to do it manually...
I tend to like automatic these days after brain went
damaged, sigh.
Kenji
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-31 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 5:22 how to overwrite the locally modified file? kokamoto
2016-05-31 8:38 ` [9front] " cinap_lenrek
2016-05-31 8:51 ` kokamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).