Rev 5382: Remove the assert statements. in http://bazaar.launchpad.net/~jameinel/bzr/2.3-send-mem-614576

John Arbash Meinel john at arbash-meinel.com
Wed Aug 11 02:27:56 BST 2010


At http://bazaar.launchpad.net/~jameinel/bzr/2.3-send-mem-614576

------------------------------------------------------------
revno: 5382
revision-id: john at arbash-meinel.com-20100811012746-5up3wsi4ozueh0rg
parent: john at arbash-meinel.com-20100810201256-jx86bsvbmbpdm40u
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.3-send-mem-614576
timestamp: Tue 2010-08-10 20:27:46 -0500
message:
  Remove the assert statements.
-------------- next part --------------
=== modified file 'bzrlib/versionedfile.py'
--- a/bzrlib/versionedfile.py	2010-08-10 20:03:44 +0000
+++ b/bzrlib/versionedfile.py	2010-08-11 01:27:46 +0000
@@ -331,9 +331,6 @@
                 raise errors.RevisionNotPresent(record.key, self.vf)
             self._process_one_record(record.key,
                                      record.get_bytes_as('chunked'))
-        # At this point, we should have *no* remaining content
-        assert not self.parent_map
-        assert set(self.refcounts) == self.ghost_parents
         
     def compute_diffs(self):
         self._extract_diffs()



More information about the bazaar-commits mailing list