Rev 2815: Remove dead code. in http://people.ubuntu.com/~robertc/baz2.0/repository

Robert Collins robertc at robertcollins.net
Sun Oct 14 22:59:38 BST 2007


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

------------------------------------------------------------
revno: 2815
revision-id: robertc at robertcollins.net-20071014215923-16mwtp9u3796eg0y
parent: robertc at robertcollins.net-20071012053736-y2su3gx25bhxzeos
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Mon 2007-10-15 07:59:23 +1000
message:
  Remove dead code.
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-10-12 05:37:36 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2007-10-14 21:59:23 +0000
@@ -203,21 +203,6 @@
             result.append(self.get_pack_by_name(name))
         return result
 
-    def all_pack_details(self):
-        """Return a list of all the packs as transport,name tuples.
-
-        :return: A list of (transport, name) tuples for all the packs in the
-            repository.
-        """
-        # XXX: fix me, should be direct rather than indirect
-        if self.repo._revision_all_indices is None:
-            # trigger creation of the all revision index.
-            self.repo._revision_store.get_revision_file(self.repo.get_transaction())
-        result = []
-        for index, transport_and_name in self.repo._revision_pack_map.iteritems():
-            result.append(transport_and_name)
-        return result
-
     def autopack(self):
         """Pack the pack collection incrementally.
         



More information about the bazaar-commits mailing list