Rev 4510: (mbp) Fix for unbound variable in reconfiguring lightweight checkout in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Jul 6 08:45:03 BST 2009


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

------------------------------------------------------------
revno: 4510 [merge]
revision-id: pqm at pqm.ubuntu.com-20090706074459-trmwhot2xsag79ud
parent: pqm at pqm.ubuntu.com-20090705002541-i0ha0d7rhevfxdil
parent: mbp at sourcefrog.net-20090706064630-r2pmeli81mqg4902
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2009-07-06 08:44:59 +0100
message:
  (mbp) Fix for unbound variable in reconfiguring lightweight checkout
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/reconfigure.py          reconfigure.py-20070908040425-6ykgo7escxhyrg9p-1
=== modified file 'NEWS'
--- a/NEWS	2009-07-04 09:37:10 +0000
+++ b/NEWS	2009-07-06 06:46:30 +0000
@@ -71,6 +71,10 @@
 * Fetch between repositories does not error if they have inconsistent data
   that should be irrelevant to the fetch operation. (Aaron Bentley)
 
+* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
+  of a remote repository.
+  (Jelmer Vernooij, #332194)
+
 * Force deletion of readonly files during merge, update and other tree
   transforms.
   (Craig Hewetson, Martin Pool, #218206)

=== modified file 'bzrlib/reconfigure.py'
--- a/bzrlib/reconfigure.py	2009-05-07 05:08:46 +0000
+++ b/bzrlib/reconfigure.py	2009-07-06 06:46:30 +0000
@@ -27,6 +27,7 @@
     def __init__(self, bzrdir, new_bound_location=None):
         self.bzrdir = bzrdir
         self.new_bound_location = new_bound_location
+        self.local_repository = None
         try:
             self.repository = self.bzrdir.find_repository()
         except errors.NoRepositoryPresent:




More information about the bazaar-commits mailing list