Rev 2810: Old fix from Alexander: set_tag_dict should lock the branch in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Mon Sep 10 13:12:46 BST 2007
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 2810
revision-id: pqm at pqm.ubuntu.com-20070910121243-ccy1gej0kqy4feen
parent: pqm at pqm.ubuntu.com-20070910105743-72rhm2629qiijbsj
parent: mbp at sourcefrog.net-20070910095545-1wuzua8ly1tdee9o
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2007-09-10 13:12:43 +0100
message:
Old fix from Alexander: set_tag_dict should lock the branch
modified:
bzrlib/tag.py tag.py-20070212110532-91cw79inah2cfozx-1
------------------------------------------------------------
revno: 2805.4.1
merged: mbp at sourcefrog.net-20070910095545-1wuzua8ly1tdee9o
parent: pqm at pqm.ubuntu.com-20070907145828-hjh5941jv7y8d9z8
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: tag-lock
timestamp: Mon 2007-09-10 19:55:45 +1000
message:
Old fix from Alexander: set_tag_dict should lock the branch
=== modified file 'bzrlib/tag.py'
--- a/bzrlib/tag.py 2007-04-19 19:28:39 +0000
+++ b/bzrlib/tag.py 2007-09-10 09:55:45 +0000
@@ -143,7 +143,7 @@
:param new_dict: Dictionary from tag name to target.
"""
- self.branch.lock_read()
+ self.branch.lock_write()
try:
self.branch._transport.put_bytes('tags',
self._serialize_tag_dict(new_dict))
More information about the bazaar-commits
mailing list