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

Re: Rsync versus svnsync + hook scripts for revprop and lock syncing

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 25 Oct 2009 15:54:35 -0500

On Oct 25, 2009, at 11:46, Anthony 'Clearly Unethical' Kilna wrote:

> Given this, are there any plans to make svnsync capable of syncing all
> metadata like revprop changes and locks? This is a critical missing
> part of that tool. The subversion docs seem riddled with
> workarounds to
> that limitation as well. It would make the system simpler, easier to
> understand and easier to maintain if svnsync had the option to sync
> everything.

Well, rev-prop changes are addressed in the svnsync FAQ:

http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt :

> [snip] You see, since revprops aren't versioned, there's no way to
> detect (via the Subversion RA APIs anyway) that it's been
> changed, so
> the next time you run a sync svnsync has no way to tell that it has
> changed. There is a way for you to build your own solution though,
> just use the 'svnsync copy-revprops' command. The usual
> technique is
> either to put an explicit call to it in your master repository's
> post-revprop-change script, or to have the post-revprop-change
> script
> record the fact that a change occurred, and then later on have some
> job look through the list of changes and copy them over for you.

Locks, I don't know about.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-25 21:55:36 CET

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