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

PATCH: symlink support for svn_load_dirs.pl

From: Bastiaan Bakker <bastiaan.bakker_at_lifeline.nl>
Date: 2005-02-11 16:46:39 CET


While importing Postfix sources with svn_load_dirs.pl I noticed that it
doesn't support importing symlinks yet, ignoring them instead. However
symlink support turned out to be easy to add, see attached patch against
Some notes:
a) the patch uses system('cp -d ...') to recreate the symlink in the
temporary dir. This may not be avaiable on all platforms that have
symlink support?
b) I've not checked the cases were symlinks have been changed into
regular files and vice versa or where the link targets have been
changed. The code follows the 'regular file' case here.


Bastiaan Bakker
E.Novation LifeLine Networks bv

PS. I'm not subscribed to the list, so could you please CC me directly
in replies.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Feb 12 21:24:17 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.