On 9/13/06, Sebastian Armbrust <email@example.com> wrote:
Please keep this on the list, your last reply was just to me.
> 2006/9/13, Garrett Rooney <firstname.lastname@example.org>:
> > On 9/13/06, Sebastian Armbrust <email@example.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?
> > > the hook pre-revprop-change enabled users can change revprops. In my
> > > changed revprops of already mirrored revisions weren't updated at all.
> > > 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.
> i tried copy-revprops but neither it worked for a single revision nor can
> one specify all or do i need a parameter?
Can you please be more specific? What exactly did you do, and what
was the result?
> > 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
> the hook pre-revprop-change is only enabled in rare cases by hand trough the
> admin. I wanted to use svnsync to mirror the repository from work to home
> but if svnsync doesn't work for all data i have to use another sync tool.
> The home copy is only used read-only.
I'm really not sure what you're worried about here. You only need to
enable the pre-revprop-change on your local read-only mirror. Yes, if
revprops are changed on the server you won't automagically get them
changed in your mirror. Sorry, those are the realities of mirroring
subversion repositories. There is NO WAY to determine that revprops
have been changed unless you have a post-revprop-change script on the
server record that information someplace. Any other means of getting
a read only mirror over the Subversion RA layer will have exactly the
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Wed Sep 13 20:17:51 2006