On Sun, 28 Nov 2010 07:01:47 +1300, Robert Collins <[email protected]> 
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

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to