Rev 3175: Missed one occurence of None -> NULL_REVISION. in http://people.ubuntu.com/~robertc/baz2.0/integration

Robert Collins robertc at robertcollins.net
Fri Jan 11 05:46:59 GMT 2008


At http://people.ubuntu.com/~robertc/baz2.0/integration

------------------------------------------------------------
revno: 3175
revision-id:robertc at robertcollins.net-20080111054654-vn3mvu7ylqb6gfw3
parent: robertc at robertcollins.net-20080111052846-oxt52a13l5mu73wj
committer: Robert Collins <robertc at robertcollins.net>
branch nick: integration
timestamp: Fri 2008-01-11 16:46:54 +1100
message:
  Missed one occurence of None -> NULL_REVISION.
modified:
  bzrlib/tests/test_remote.py    test_remote.py-20060720103555-yeeg2x51vn0rbtdp-2
=== modified file 'bzrlib/tests/test_remote.py'
--- a/bzrlib/tests/test_remote.py	2008-01-02 07:58:37 +0000
+++ b/bzrlib/tests/test_remote.py	2008-01-11 05:46:54 +0000
@@ -707,7 +707,7 @@
             responses, transport_path)
 
         # The null revision is always there, so has_revision(None) == True.
-        self.assertEqual(True, repo.has_revision(None))
+        self.assertEqual(True, repo.has_revision(NULL_REVISION))
 
         # The remote repo shouldn't be accessed.
         self.assertEqual([], client._calls)



More information about the bazaar-commits mailing list