adding [minimal] symlink support
marco gaddoni
marco.gaddoni at gmail.com
Thu Jul 13 09:40:28 UTC 2006
>
> > i need support of symlinks and devicefiles. Currently svn does support
> > symlinks and dont support device files (the ones that go in /dev).
>
> This may work fine when you use *one* platform for development.
> Anything that is related to symlinks, device nodes, and other special
> files tends to break in nasty ways when multiple platforms are involved
> though.
with svn, a symlink in windows is a file that store the target of the
symlink and is tagged with the property svn:special;
this is the contenent of the command free (that is a symlink)
as seen in windows:
link ../../bin/busybox
it work good for me.
supporting device files as regolar files with svn:special property and
content Device 03:01 should work fine.
And is not too different from the plan Matt outlined to support
symlinks. maybe i will try to hack hg.
>
> > I am developing both in linux and windows.
>
> And this is the point where keeping everything in the repository,
> including "special" files, like symlinks, device nodes, hard links or
> anything else that is "special" in any way, breaks mightily.
>
> Windows doesn't support device nodes. It doesn't support symlinks in
> the UNIX sense either. IMHO, it's not Mercurial's job (or the job of
> any other VCS) to try to work around system limitations :-(
imho hg is working well now in windows and can be easily improved.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060713/b390d0e8/attachment-0001.html>
More information about the Mercurial
mailing list