Rev 5540: (spiv) Remove broken, unused elif branch, in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Nov 16 07:16:49 GMT 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5540 [merge]
revision-id: pqm at pqm.ubuntu.com-20101116071647-ibe1m73iokndpuyf
parent: pqm at pqm.ubuntu.com-20101112234358-l7ncso1pkmwpczup
parent: andrew.bennetts at canonical.com-20101116060611-yar5447lk6os78u3
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2010-11-16 07:16:47 +0000
message:
  (spiv) Remove broken, unused elif branch,
   and remove some unused imports. (Andrew Bennetts)
modified:
  bzrlib/smart/repository.py     repository.py-20061128022038-vr5wy5bubyb8xttk-1
=== modified file 'bzrlib/smart/repository.py'
--- a/bzrlib/smart/repository.py	2010-05-14 13:36:34 +0000
+++ b/bzrlib/smart/repository.py	2010-11-16 06:06:11 +0000
@@ -30,7 +30,6 @@
     osutils,
     pack,
     ui,
-    versionedfile,
     )
 from bzrlib.bzrdir import BzrDir
 from bzrlib.smart.request import (
@@ -39,7 +38,6 @@
     SuccessfulSmartServerResponse,
     )
 from bzrlib.repository import _strip_NULL_ghosts, network_format_registry
-from bzrlib.recordcounter import RecordCounter
 from bzrlib import revision as _mod_revision
 from bzrlib.versionedfile import (
     NetworkRecordStream,
@@ -506,8 +504,6 @@
         for record in substream:
             if record.storage_kind in ('chunked', 'fulltext'):
                 serialised = record_to_fulltext_bytes(record)
-            elif record.storage_kind == 'inventory-delta':
-                serialised = record_to_inventory_delta_bytes(record)
             elif record.storage_kind == 'absent':
                 raise ValueError("Absent factory for %s" % (record.key,))
             else:




More information about the bazaar-commits mailing list