> -----Original Message----- > From: C. Michael Pilato [mailto:cmpil...@collab.net] > Sent: 02 February 2010 17:58 > To: Bailey, Darragh > Cc: users@subversion.apache.org > Subject: Re: Svnsync - switching source and mirror
> All that 'svnsync init' does is set a bunch of revision > properties on r0 in > the new mirror repository. > > $ svn plist -v -r0 --revprop file:///usr/local/svn/subversion > Unversioned properties on revision 0: > svn:sync-from-uuid > 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a > svn:sync-last-merged-rev > 39208 > svn:date > 2001-08-31T04:23:30.644170Z > svn:sync-from-url > http://svn.collab.net/repos/svn > $ > > To switch your notion of "source" and "sync" repository, > you'll need to set > similar properties on the new "sync" repository. But you'll > have to do so > by hand (using 'svn pedit' or 'svn pset'), because 'svnsync > init' gets fussy > if you aren't operating on a clean repository. (In > Subversion's trunk -- > that is, 1.7.0-to-be -- I've added an --allow-non-empty > option to 'svnsync > init' which allows you to init an already populated copy of a > repository as > a mirror of the original. No more hand-editing of those revprops.) > > -- > C. Michael Pilato <cmpil...@collab.net> > CollabNet <> www.collab.net <> Distributed > Development On Demand Doh! Forgot to use the --revprop option, that's why I didn't see anything being set. Thanks for the info, that should allow me to complete my documentation here for how to get this working correctly. -- Regards, Darragh Bailey Systems Software Engineer Hewlett Packard Galway Ltd. Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2 Registered Number: 361933