Rev 5656: Ensure the checkout is updated as expected. in file:///home/vila/src/bzr/bugs/786980-url-aliases/

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu Jul 14 12:07:31 UTC 2011


At file:///home/vila/src/bzr/bugs/786980-url-aliases/

------------------------------------------------------------
revno: 5656
revision-id: v.ladeuil+lp at free.fr-20110714120730-m7oq4xgricxpxjkx
parent: v.ladeuil+lp at free.fr-20110712164825-9fpq2soa453hqrji
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 786980-url-aliases
timestamp: Thu 2011-07-14 14:07:30 +0200
message:
  Ensure the checkout is updated as expected.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_remote.py'
--- a/bzrlib/tests/test_remote.py	2011-07-08 15:53:43 +0000
+++ b/bzrlib/tests/test_remote.py	2011-07-14 12:07:30 +0000
@@ -3225,7 +3225,7 @@
         wt = self.make_branch_and_tree('master')
         checkout = wt.branch.create_checkout('checkout')
         wt.commit('add stuff')
-        wt.commit('even more stuff')
+        last_revid = wt.commit('even more stuff')
         bound_location = checkout.branch.get_bound_location()
         # For unclear reasons some users have a bound_location without a final
         # '/', simulate that by forcing such a value
@@ -3235,3 +3235,4 @@
         # bug 786980 was raising ReadOnlyError: A write attempt was made in a
         # read only transaction during the update()
         checkout.update()
+        self.assertEquals(last_revid, checkout.last_revision())



More information about the bazaar-commits mailing list