Rev 3853: We now always fetch in topo order, update the tests to reflect this. in http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/revision_stream

John Arbash Meinel john at arbash-meinel.com
Wed Nov 26 03:43:31 GMT 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/revision_stream

------------------------------------------------------------
revno: 3853
revision-id: john at arbash-meinel.com-20081126034310-5m8y6ssh1dnw6w6w
parent: john at arbash-meinel.com-20081126033637-od9myknscra18cw4
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: revision_stream
timestamp: Tue 2008-11-25 21:43:10 -0600
message:
  We now always fetch in topo order, update the tests to reflect this.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_fetch.py'
--- a/bzrlib/tests/test_fetch.py	2008-11-26 03:36:37 +0000
+++ b/bzrlib/tests/test_fetch.py	2008-11-26 03:43:10 +0000
@@ -375,7 +375,7 @@
                           target._fetch_order, False),
                          self.find_get_record_stream(source.inventories.calls))
         self.assertEqual(('get_record_stream', [('rev-one',)],
-                          target._fetch_order, False),
+                          'topological', False),
                          self.find_get_record_stream(source.revisions.calls))
         # XXX: Signatures is special, and slightly broken. The
         # standard item_keys_introduced_by actually does a lookup for every
@@ -386,7 +386,7 @@
         # we care about.
         signature_calls = source.signatures.calls[-1:]
         self.assertEqual(('get_record_stream', [('rev-one',)],
-                          target._fetch_order, False),
+                          'topological', False),
                          self.find_get_record_stream(signature_calls))
 
     def test_fetch_no_deltas_with_delta_closure(self):
@@ -414,7 +414,7 @@
                           target._fetch_order, True),
                          self.find_get_record_stream(source.inventories.calls))
         self.assertEqual(('get_record_stream', [('rev-one',)],
-                          target._fetch_order, True),
+                          'topological', True),
                          self.find_get_record_stream(source.revisions.calls))
         # XXX: Signatures is special, and slightly broken. The
         # standard item_keys_introduced_by actually does a lookup for every
@@ -425,7 +425,7 @@
         # we care about.
         signature_calls = source.signatures.calls[-1:]
         self.assertEqual(('get_record_stream', [('rev-one',)],
-                          target._fetch_order, True),
+                          'topological', True),
                          self.find_get_record_stream(signature_calls))
 
     def test_fetch_revisions_with_deltas_into_pack(self):



More information about the bazaar-commits mailing list