Rev 3772: Tweak autopack muttering. in http://people.ubuntu.com/~robertc/baz2.0/repository
Robert Collins
robertc at robertcollins.net
Thu Nov 13 07:17:56 GMT 2008
At http://people.ubuntu.com/~robertc/baz2.0/repository
------------------------------------------------------------
revno: 3772
revision-id: robertc at robertcollins.net-20081113071726-ym6on85t8up5ylpi
parent: robertc at robertcollins.net-20081113063210-73nygl2cftrvpibh
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Thu 2008-11-13 18:17:26 +1100
message:
Tweak autopack muttering.
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 2008-11-12 04:47:37 +0000
+++ b/bzrlib/repofmt/pack_repo.py 2008-11-13 07:17:26 +0000
@@ -1291,8 +1291,9 @@
# XXX: the following may want to be a class, to pack with a given
# policy.
mutter('Auto-packing repository %s, which has %d pack files, '
- 'containing %d revisions into %d packs.', self, total_packs,
- total_revisions, self._max_pack_count(total_revisions))
+ 'containing %d revisions into no more than %d packs.', self,
+ total_packs, total_revisions,
+ self._max_pack_count(total_revisions))
# determine which packs need changing
pack_distribution = self.pack_distribution(total_revisions)
existing_packs = []
@@ -1314,6 +1315,7 @@
pack_operations = self.plan_autopack_combinations(
existing_packs, pack_distribution)
self._execute_pack_operations(pack_operations)
+ mutter('Auto-packing repository %s completed')
return True
def _execute_pack_operations(self, pack_operations, _packer_class=Packer):
More information about the bazaar-commits
mailing list