Option to clear Bazaar locks

Bug #997107 reported by Georges Racinet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
Undecided
Unassigned

Bug Description

Some interrupted executions of the recipe may leave locks behind (not helped by bzr being awfully slow).
This can become a problem in cases where buildout is itself automated, and we are sure there is no actual concurrency in the branches. This is for instance the case with the buildbot setups of anybox.buildbot.openerp, where a buildbot lock forbids such concurrency.

For these cases, we'd need an option to automatically clear locks. Apparently, bzr does not fire errors if there is no lock to clear.
This could look like this:

[openerp]
recipe = anybox.recipe.openerp
vcs_clear_locks = True

Related branches

summary: - Option to cleare Bazaar locks
+ Option to clear Bazaar locks
Revision history for this message
Georges Racinet (gracinet) wrote :

Now we have a "vcs-clear-locks" option. It's actually implemented for Bzr only.
Could not find a refence to clearing locks in hg in less than 10 secs. Didn't look at git nor svn

Changed in anybox.recipe.openerp:
status: New → Fix Committed
Changed in anybox.recipe.openerp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.