At http://bzr.arbash-meinel.com/branches/bzr/1.11/differ_serializer

------------------------------------------------------------
revno: 3892
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: differ_serializer
timestamp: Tue 2008-12-09 22:34:21 -0600
message:
  There was a test that asserted we called pb.update() with the last revision.
=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py      2008-12-10 00:10:00 +0000
+++ b/bzrlib/repository.py      2008-12-10 04:34:21 +0000
@@ -3247,7 +3247,7 @@
             self.target.start_write_group()
             try:
                 pb.update('Transferring revisions', offset,
-                    len(revision_ids))
+                          len(revision_ids))
                 batch = revision_ids[offset:offset+batch_size]
                 basis_id, basis_tree = self._fetch_batch(batch,
                     basis_id, basis_tree)
@@ -3256,6 +3256,8 @@
                 raise
             else:
                 self.target.commit_write_group()
+        pb.update('Transferring revisions', len(revision_ids),
+                  len(revision_ids))
 
     @needs_write_lock
     def fetch(self, revision_id=None, pb=None, find_ghosts=False):

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to