At http://bazaar.launchpad.net/~jameinel/bzr/1.17-rework-annotate

------------------------------------------------------------
revno: 4533
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: 1.17-rework-annotate
timestamp: Wed 2009-07-08 18:10:47 -0500
message:
  Remove some assert statements.
=== modified file 'bzrlib/_annotator_py.py'
--- a/bzrlib/_annotator_py.py   2009-07-08 17:09:03 +0000
+++ b/bzrlib/_annotator_py.py   2009-07-08 23:10:47 +0000
@@ -292,7 +292,6 @@
         """
         custom_tiebreaker = annotate._break_annotation_tie
         annotations, lines = self.annotate(key)
-        assert len(annotations) == len(lines)
         out = []
         heads = self._get_heads_provider().heads
         append = out.append

=== modified file 'bzrlib/knit.py'
--- a/bzrlib/knit.py    2009-07-06 20:21:34 +0000
+++ b/bzrlib/knit.py    2009-07-08 23:10:47 +0000
@@ -3532,7 +3532,6 @@
                 lines = self._expand_record(child_key, parent_keys,
                                             compression_parent,
                                             record, record_details)
-                assert lines is not None
                 if self._check_ready_for_annotations(child_key, parent_keys):
                     to_return.append(child_key)
         # Also check any children that are waiting for this parent to be
@@ -3595,7 +3594,6 @@
             # ghosts?
             details = self._all_build_details[key]
             (_, compression_parent, parent_keys, record_details) = details
-            assert parent_keys == self._parent_map[key]
             lines = self._expand_record(key, parent_keys, compression_parent,
                                         record, record_details)
             if lines is None:

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

Reply via email to