On Mon, 2011-08-08 at 13:07 +0000, exar...@twistedmatrix.com wrote: > On 12 Jul, 12:11 pm, a...@roiban.ro wrote: > >On Mon, 2011-07-11 at 11:30 +0000, exar...@twistedmatrix.com wrote: > >>On 9 Jul, 10:46 am, a...@roiban.ro wrote: > >> >On Fri, 2011-07-08 at 16:20 +0000, exar...@twistedmatrix.com wrote: > >> >>On 7 Jul, 04:25 pm, a...@roiban.ro wrote: > >> >[snip] > >[snip] > >>I ran this (all-branches version) a few times over the weekend. The > >>first time, when there was lots of catching up to do, took about 3.5 > >>hours. After that, it was about 30 minutes per run. This does seem > >>fast enough to do nightly, so I'll set that up until we have the push- > >>based version. > > > >I have created a script that can be used together with a svn post- > >commit > >hook to keep an bzr mirror in sync. > > Thanks. Sorry about the delay in getting back to you on this. Another > issue I think the push version needs to deal with is concurrent > invocation. It looks like the script will issue overlapping "bzr pull" > commands now, which doesn't work very well. Do you think you could add > some locking somewhere to avoid this? > > Thanks again, > Jean-Paul
Hi. Don't worry for the delay. I have added locking to the script. The result is here: https://github.com/adiroiban/scripts/tree/master/svn-bzr-sync-hook Feel free to review the code when you have time and let me know if you find any other problems. -- Adi _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python