At http://bzr.arbash-meinel.com/branches/bzr/brisbane/chk_map
------------------------------------------------------------
revno: 3805
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: chk_map
timestamp: Tue 2008-12-02 21:56:43 -0600
message:
obsolete the .cix index along with the rest.
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py 2008-11-20 19:41:26 +0000
+++ b/bzrlib/repofmt/pack_repo.py 2008-12-03 03:56:43 +0000
@@ -1530,7 +1530,10 @@
# TODO: Probably needs to know all possible indices for this pack
# - or maybe list the directory and move all indices matching this
# name whether we recognize it or not?
- for suffix in ('.iix', '.six', '.tix', '.rix'):
+ suffixes = ['.iix', '.six', '.tix', '.rix']
+ if self.chk_index is not None:
+ suffixes.append('.cix')
+ for suffix in suffixes:
self._index_transport.rename(pack.name + suffix,
'../obsolete_packs/' + pack.name + suffix)
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits