Problem regarding hardlink when clone from linux and commit from windows

Jerome Allasia jerome.allasia at amadeus.com
Thu Oct 21 13:54:34 UTC 2010


Hi,

The problem is the following (i have read 
http://mercurial.selenic.com/wiki/HardlinkedClones#Hardlinked_clones_on_Windows_shares
, but it seams that the problem still exist ...)

I have a repository call "ref", first i clone it to cloneRef (cmd run on 
the linux machine, on a linux terminal)

jallasia at ncegcolnx123:~/HardlinkTEST) hg clone ref cloneRef 

jallasia at ncegcolnx123:~/HardlinkTEST) ll               1:03PM
total 16
drwxr-xr-x 3 jallasia dev_air 1024 Oct 21 11:17 cloneRef
drwxr-xr-x 3 jallasia dev_air 1024 Oct 20 12:24 ref

I modify a file call "test.txt" inside cloneRef
On windows i perform a commit : (run on windows, mapping the linux drive 
on V: using mercurial v1.6.4)

V:\HardlinkTEST\cloneRef>hg commit

the result it that both repository are modified !!!
jallasia at ncegcolnx123:~/HardlinkTEST) ll cloneRef/.hg/store/data 
ref/.hg/store/data                                       1:09PM
cloneRef/.hg/store/data:
total 8
-rw-r--r-- 2 jallasia dev_air 223 Oct 21 11:17 test.txt.i

ref/.hg/store/data:
total 8
-rw-r--r-- 2 jallasia dev_air 223 Oct 21 11:17 test.txt.i

(I have install the version 1.6.4 on windows to perform that ...)

Do you have a solution for me ????

(THIS PROBLEM IS REALLY A SHOW STOPER ! AN WE HAVE POTENTIALLY HUNDREDS OF 
DEVELOPPER IN OUR COMPANIE THAT ARE OR WILL USE IT OR MIGRATE TO ANOTHER 
SOLUTION)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101021/aee62f48/attachment.html>


More information about the Mercurial mailing list