Rev 2878: (robertc) remote.py tweaks from packs. (Robert Collins) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Oct 3 05:23:21 BST 2007


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

------------------------------------------------------------
revno: 2878
revision-id: pqm at pqm.ubuntu.com-20071003042319-er7zwdzllxy1ywg7
parent: pqm at pqm.ubuntu.com-20071003034943-yikn2d3l6cnjb322
parent: robertc at robertcollins.net-20071003033339-s9h85y5qewg60c3e
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2007-10-03 05:23:19 +0100
message:
  (robertc) remote.py tweaks from packs. (Robert Collins)
modified:
  bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
    ------------------------------------------------------------
    revno: 2857.3.2
    merged: robertc at robertcollins.net-20071003033339-s9h85y5qewg60c3e
    parent: robertc at robertcollins.net-20070925040133-wu3yqazl1zwhg9ls
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: remote
    timestamp: Wed 2007-10-03 13:33:39 +1000
    message:
      Back out class test removal in RemoteRepository.has_same_location.
    ------------------------------------------------------------
    revno: 2857.3.1
    merged: robertc at robertcollins.net-20070925040133-wu3yqazl1zwhg9ls
    parent: pqm at pqm.ubuntu.com-20070925032108-y6nxt0xmghqldn4g
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: remote
    timestamp: Tue 2007-09-25 14:01:33 +1000
    message:
      (robertc) Remote object tweaks from the packs branch. (Robert Collins)
=== modified file 'bzrlib/remote.py'
--- a/bzrlib/remote.py	2007-09-14 14:45:55 +0000
+++ b/bzrlib/remote.py	2007-10-03 03:33:39 +0000
@@ -259,6 +259,12 @@
         self._leave_lock = False
         # for tests
         self._reconcile_does_inventory_gc = True
+        self.base = self.bzrdir.transport.base
+
+    def __str__(self):
+        return "%s(%s)" % (self.__class__.__name__, self.base)
+
+    __repr__ = __str__
 
     def abort_write_group(self):
         """Complete a write group on the decorated repository.




More information about the bazaar-commits mailing list