Rev 4860: Found the failed-to-unlocked branches in test_remote. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-test-cleanups

John Arbash Meinel john at arbash-meinel.com
Thu Dec 3 20:34:17 GMT 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-test-cleanups

------------------------------------------------------------
revno: 4860
revision-id: john at arbash-meinel.com-20091203203403-cww6ez5nvp616c85
parent: john at arbash-meinel.com-20091203202257-jly7wpd6fa933je3
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0b4-win32-test-cleanups
timestamp: Thu 2009-12-03 14:34:03 -0600
message:
  Found the failed-to-unlocked branches in test_remote.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_remote.py'
--- a/bzrlib/tests/test_remote.py	2009-11-11 06:50:40 +0000
+++ b/bzrlib/tests/test_remote.py	2009-12-03 20:34:03 +0000
@@ -3042,6 +3042,7 @@
             local_tree.commit('more local changes are better')
             branch = Branch.open(self.get_url('tree3'))
             branch.lock_read()
+            self.addCleanup(branch.unlock)
             return None, branch
         rev_ord, expected_revs = self.get_ordered_revs('1.9', 'unordered',
             branch_factory=make_stacked_stacked)



More information about the bazaar-commits mailing list