Other OS patches

Radoslaw Szkodzinski astralstorm at gorzow.mm.pl
Sat Jun 25 00:34:01 UTC 2005


On Fri, 24 Jun 2005 18:20:09 +0200
Thomas Arendsen Hein <thomas at intevation.de> wrote:
> I don't think you've misunderstood hardlinks, only your and
> Radoslaw's definition of "generic" and "modification" differ :)
> 
> I suppose:
> 
> generic (as of Andrew):
>   Use util.copy() for something else than copying the .hg directory,
>   e.g. for cloning a file outside the .hg directory.
> 
> modification (as of Radoslaw):
>   Using an editor or other tool that intentionally breaks hard links,
>   e.g. vim with the appropriate value of 'backupcopy'.
>
I see the danger. Certain widespread tools such as bash (echo x > file) do not
break hardlinks.
So it isn't suitable for copying outside repo. Better call it linkcopy then.

Then we need to make sure Python breaks them when writing to files or that it
is possible to do so easily.

AstralStorm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050625/820ab86c/attachment-0001.asc>


More information about the Mercurial mailing list