[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Symlinks from Windoze?

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-08-13 03:34:21 CEST

Monks, Peter wrote:
> G'day Ben,
>
> Ooooh nice!! And after I've done the commit on the Windoze box, linky
> will be repopulated with the contents of foo.txt? Or do I need to
> update it after I've committed?

No, Windows clients will only ever see the "link foo" file. Windows
does not support symbolic links.

Second, If you did want to do this, you should use:

echo -n "link foo" > my_link

If you don't, the trailing newline will be treated as part of the
linked-to file. This is really just a hack, and not an officially
exported or supported API so it may change in the future.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 03:35:49 2004

This is an archived mail posted to the Subversion Users mailing list.