Rev 2776: The _revision_pack_map maps to filename not prefix. in http://people.ubuntu.com/~robertc/baz2.0/repository

Robert Collins robertc at robertcollins.net
Sun Sep 23 23:34:06 BST 2007


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

------------------------------------------------------------
revno: 2776
revision-id: robertc at robertcollins.net-20070923223357-z02p4dyenpvg4nn7
parent: robertc at robertcollins.net-20070923210437-epdjo8vdvrc3jbsz
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Mon 2007-09-24 08:33:57 +1000
message:
  The _revision_pack_map maps to filename not prefix.
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-23 21:04:37 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2007-09-23 22:33:57 +0000
@@ -124,7 +124,7 @@
             pass
         else:
             self.repo._revision_pack_map[pack.revision_index] = (
-                pack.transport, pack.name)
+                pack.transport, pack.name + '.pack')
             self.repo._revision_all_indices.insert_index(0, pack.revision_index)
         if self.repo._inv_all_indices is not None:
             # inv 'knit' has been used : update it.



More information about the bazaar-commits mailing list