Rev 2763: Enable check_content=False for pack commits. in http://people.ubuntu.com/~robertc/baz2.0/repository

Robert Collins robertc at robertcollins.net
Thu Sep 13 00:40:17 BST 2007


At http://people.ubuntu.com/~robertc/baz2.0/repository

------------------------------------------------------------
revno: 2763
revision-id: robertc at robertcollins.net-20070912234007-9j5fd6isl84t7tw1
parent: robertc at robertcollins.net-20070912233046-g8nqea1tuj0h83zm
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Thu 2007-09-13 09:40:07 +1000
message:
  Enable check_content=False for pack commits.
modified:
  bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py	2007-09-12 06:33:40 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2007-09-12 23:40:07 +0000
@@ -150,7 +150,7 @@
         self.repo._text_knit._index._add_callback = file_id_index.add_nodes
         return self.repo._text_knit.add_lines_with_ghosts(
             revision_id, parents, new_lines, nostore_sha=nostore_sha,
-            random_id=random_revid)[0:2]
+            random_id=random_revid, check_content=False)[0:2]
 
     def all_pack_details(self):
         """Return a list of all the packs as transport,name tuples.



More information about the bazaar-commits mailing list