← Back to team overview

launchpad-dev team mailing list archive

Re: pushing db-devel branches *is* slower, we do need a cronjob fixing things up.

 

On Sun, 28 Nov 2010 07:01:47 +1300, Robert Collins <robertc@xxxxxxxxxxxxxxxxx> wrote:
> Something like this, running as launchpad-pqm - I'm on leave, so I
> leave this up to whomever gets annoyed at the push times first.
> 
> import bzrlib.plugin
> bzrlib.plugin.load_plugins()
> import bzrlib.repository
> with bzrlib.initialize():
>     db = bzrlib.repository.Repository.open('lp:launchpad/db-devel')
>     devel = bzrlib.repository.Repository.open('lp:launchpad')
>     devel.fetch(db)

Does PQM handle the target branch being write-locked gracefully?

Thanks,

James



Follow ups

References