symlinks on ecryptfs cause spurious modifications
Bug #522099 reported by
avdd
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mercurial (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mercurial
when syncing hg repos from or to a filesystem using ecryptfs, the sizes of the symlinks are different causing spurious modification messages.
For example, if /tmp is clear fs and $HOME is ecryptfs:
mkdir /tmp/hgtest
cd /tmp/hgtest
hg init
touch foo
ln -s foo bar
hg add foo bar
hg ci -m 'file and symlink'
hg st
sleep 3 # necessary for bug to manifest
rsync -ra /tmp/hgtest/ ~/hgtest
cd ~/hgtest
hg st
output:
M bar
To post a comment you must log in.
git also has the same problem, svn and bzr do not