Rev 5208: Update one new test. in http://bazaar.launchpad.net/~lifeless/bzr/lock_return

Robert Collins robertc at robertcollins.net
Tue May 11 11:14:24 BST 2010


At http://bazaar.launchpad.net/~lifeless/bzr/lock_return

------------------------------------------------------------
revno: 5208
revision-id: robertc at robertcollins.net-20100511101423-jqc0nvniiby7vfc0
parent: robertc at robertcollins.net-20100511084459-pb0uinna9zs3wu59
committer: Robert Collins <robertc at robertcollins.net>
branch nick: lock_return
timestamp: Tue 2010-05-11 22:14:23 +1200
message:
  Update one new test.
=== modified file 'bzrlib/tests/per_repository/test_refresh_data.py'
--- a/bzrlib/tests/per_repository/test_refresh_data.py	2010-05-11 08:44:59 +0000
+++ b/bzrlib/tests/per_repository/test_refresh_data.py	2010-05-11 10:14:23 +0000
@@ -103,7 +103,7 @@
         tree.add([''], ['root-id'])
         tree.commit('foo', rev_id='commit-in-target')
         repo = tree.branch.repository
-        token = repo.lock_write()
+        token = repo.lock_write().repository_token
         self.addCleanup(repo.unlock)
         repo.start_write_group()
         self.addCleanup(repo.abort_write_group)




More information about the bazaar-commits mailing list