In Mercurial, is it possible to capture only the contents of a file and not its metadata (e.g. permissions)?

Next problem. If I compare files in a Linux box via CIFS on a Windows box using WinMerge, WinMerge seems to be about file permission. Remarkably, he adds a bit x

sometimes u

, and sometimes in the field u

and g

.

How can I

  • return permissions without returning the contents of the file, or
  • commit file content without changing permissions?

The odd part is that it hg stat

lists these files as changed, but hg diff

then only gives the difference between the only file that changed the content, from the bunch of files shown in hg stat

. What gives?

+3
mercurial


source to share


No one has answered this question yet

See similar questions:

8
Mercurial: ignore file / mode changes (chmod)

or similar:

237
Mercurial for Beginners: The Ultimate Practical Guide
95
Mercurial (hg) only commits certain files
44
Remove all deleted files in next commit with Mercurial
33
Remove file from commit in Mercurial
ten
Executing only some files in Mercurial
8
hg shows changed files that don't change, why might this be?
five
How to "get back" unchanged files using mercury?
3
Can I update a commit in Mercurial?
1
PyCharm phantom files in changelog
1
Mercurial / Git shared repository via Samba used by both Linux and Windows



All Articles
Loading...
X
Show
Funny
Dev
Pics