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

Re: SVNSync

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-09-13 19:45:18 CEST

On 9/13/06, Sebastian Armbrust <flizebogen@googlemail.com> wrote:
> I upgraded to subversion 1.4 (win32) and tested the new svnsync command.
>
> svnsync works well in mirroring new revisions but what about revprops? With
> the hook pre-revprop-change enabled users can change revprops. In my tests
> changed revprops of already mirrored revisions weren't updated at all. Is
> this wanted behaviour?

Changed revprops of already mirrored revisions will not be updated,
you need to explicitly use the copy-revprops command to do it.
There's no way for svnsync to know that the revprops have been
tweaked, so it has to be handled at a higher level.

As for users being able to change revprops, that's only if you allow
them to. I'd suggest writing a pre-revprop-change that limits that
ability to the user you run svnsync as, honestly, you should also
limit write access to that user, as if anyone else starts making
commits to the destination repos you're in trouble, since you'll lose
the ability to continue syncing to it.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 13 19:46:09 2006

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

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