converting svn repos with symbolic links

Matt Mackall mpm at selenic.com
Mon Nov 27 14:19:20 CST 2006


On Mon, Nov 27, 2006 at 09:20:51PM +0100, Benoit Boissinot wrote:
> On 11/27/06, Faheem Mitha <faheem at email.unc.edu> wrote:
> >
> >Furthermore, I know that mercurial does not support soft (symbolic) links.
> >However, does it support hard links, without any extra expenditure in
> >space? Ie. if I make a hard link to a file in a repository and then commit
> >the hard link, will hg recognise that it is a hard link to that file and
> >recreate that hard link in the checkout?
> >
> No it won't do that, I don't think that the usual behaviour with
> hardlinks for any UNIX application either. Hardlinks are seen as two
> different files (and hg will break the hardlink when updating any of
> the links)

Yep, we absolutely won't try to detect hardlinks. It would mean
scanning every file in the tree looking for matching inodes. Symlinks
should happen soon but there are other things that are higher on my
personal priority list.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list