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

Re: svnadmin hotcopy does not duplicate symlinks

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-07-21 23:27:46 CEST

Garrett Rooney wrote:
> This is completely and totally untested, but can you give it a shot:
>
> Index: subversion/libsvn_repos/repos.c
> ===================================================================
> --- subversion/libsvn_repos/repos.c (revision 20824)
> +++ subversion/libsvn_repos/repos.c (working copy)
> @@ -2007,9 +2007,12 @@
> }
> else if (finfo->filetype == APR_REG)
> {
> -
> SVN_ERR(svn_io_copy_file(path, target, TRUE, pool));
> }
> + else if (finfo->filetype == APR_LNK)
> + {
> + SVN_ERR(svn_io_copy_link(path, target, pool));
> + }
>
> return SVN_NO_ERROR;
> }
>

Thanks, I'll give it a shot when I have a live server to try it out on.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 21 23:28:45 2006

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