[Pkg-bazaar-commits] ./bzr/unstable r706: - remove redundant precursor check

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:20:47 UTC 2009


------------------------------------------------------------
revno: 706
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-06-20 13:29:21 +1000
message:
  - remove redundant precursor check
modified:
  bzrlib/check.py
-------------- next part --------------
=== modified file 'bzrlib/check.py'
--- a/bzrlib/check.py	2005-06-20 03:28:33 +0000
+++ b/bzrlib/check.py	2005-06-20 03:29:21 +0000
@@ -94,14 +94,6 @@
                 missing_inventory_sha_cnt += 1
                 mutter("no inventory_sha1 on revision {%s}" % rev_id)
 
-            if rev.precursor:
-                if rev.precursor_sha1:
-                    precursor_sha1 = branch.get_revision_sha1(rev.precursor)
-                    #mutter('    checking precursor hash {%s}' % rev.precursor_sha1)
-                    if rev.precursor_sha1 != precursor_sha1:
-                        raise BzrCheckError('Precursor sha1 hash doesn\'t match'
-                            ' value in revision {%s}' % rev_id)
-
             inv = branch.get_inventory(rev.inventory_id)
             seen_ids = {}
             seen_names = {}



More information about the Pkg-bazaar-commits mailing list