How to "return" immutable files using mercury?

I installed Windows7 on my computer, and I had to change all permissions / accept ownership, which apparently “touched” all my files, and now everything seems “changed” (when I do “hg status”) but only some files have real changes.

Is there a command that I can run to either “commit” or “return” all files that do not have actual changes to them (that is, the text does not change even if the file attributes are changed).

added by:

I upgraded from WinXP to Win7. I didn’t actually “copy” anything, the repository on the disk is the same ... it's just Windows that has changed. After the update, I did not have access to some files, I had to "take responsibility" in order to re-access (since the user rights were not properly saved). Here is what I get:

$ hg stat 
../../test/acceptance/spidermonkey/js1_5/String/regress-179068.as M      
$ hg diff ../../test/acceptance/spidermonkey/js1_5/String/regress-179068.as
+5
source share
2 answers

I think you were unable to copy the repository correctly .hg.

$ hg stat primes.py         # nothing, file is checked in
$ touch primes.py
$ hg stat                   # still nothing
$ sudo chown bin primes.py
$ hg stat                   # nothing, the chown didn't make hg care

You should probably be hg clone in the repository and work from there.

: Ugh, hg verify hg summary, , ( , ). , ( "" ).

+3

! ...

  • hg path/to/clone original path/to/clone
  • hg update -C /path/to/clone , , .
  • kdiff3 path/to/original path/to/clone
  • " "
  • ( .hg)
  • CTRL-1, A
  • F6,
  • 5-7

. , .

kdiff3 path/to/clone path/to/original

+2

All Articles