Problem regarding hardlink when clone from linux and commit from windows

Mads Kiilerich mads at kiilerich.com
Thu Oct 21 08:39:15 CDT 2010


(This should probably have been sent to the user list 
mercurial at selenic.com instead.)

On 10/21/2010 01:12 PM, Jerome Allasia wrote:
>
> Hi,
>
> The problem is the following :
>
>     * I have a repository call "ref", first i clone it to cloneRef :
>
>
> 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 :
>
>
> 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 ????

What is the file server platform and what file system do you use?

How is the file system exported from the server and "mounted" on the client?

Are all operations remote or are some of them local - and which?

What Mercurial versions do you use?

(It looks like 
http://mercurial.selenic.com/wiki/HardlinkedClones#Hardlinked_clones_on_Windows_shares 
but we can't tell yet.)

/Mads


More information about the Mercurial-devel mailing list