Rev 2152: Revert change to fetch.py that broke test_upgrade_preserves_signatures for non-Remote repositories. Still hangs for Remote repos too :( in sftp://bazaar.launchpad.net/%7Ebzr/bzr/hpss/

Andrew Bennetts andrew.bennetts at canonical.com
Mon Mar 5 06:16:27 GMT 2007


At sftp://bazaar.launchpad.net/%7Ebzr/bzr/hpss/

------------------------------------------------------------
revno: 2152
revision-id: andrew.bennetts at canonical.com-20070305060419-g6jwzbokqechgsp1
parent: andrew.bennetts at canonical.com-20070305051557-1ky8luc1kt0c39x0
committer: Andrew Bennetts <andrew.bennetts at canonical.com>
branch nick: hpss
timestamp: Mon 2007-03-05 17:04:19 +1100
message:
  Revert change to fetch.py that broke test_upgrade_preserves_signatures for non-Remote repositories.  Still hangs for Remote repos too :(
modified:
  bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
=== modified file 'bzrlib/fetch.py'
--- a/bzrlib/fetch.py	2007-02-28 07:08:25 +0000
+++ b/bzrlib/fetch.py	2007-03-05 06:04:19 +0000
@@ -88,7 +88,7 @@
         # result variables.
         self.failed_revisions = []
         self.count_copied = 0
-        if to_repository.bzrdir.root_transport.base == from_repository.bzrdir.root_transport.base:
+        if to_repository.control_files._transport.base == from_repository.control_files._transport.base:
             # check that last_revision is in 'from' and then return a no-operation.
             if last_revision not in (None, NULL_REVISION):
                 from_repository.get_revision(last_revision)




More information about the bazaar-commits mailing list