patch: branch source does not exist

Robey Pointer robey at lag.net
Tue Oct 18 07:17:06 BST 2005


Sorry to keep sending little tiny patches.  This one fixes an error  
message when the source branch ("bzr branch /not/real") doesn't  
exist.  It's probably obvious from the patch. :)

robey


=== modified file 'bzrlib/builtins.py'
--- bzrlib/builtins.py
+++ bzrlib/builtins.py
@@ -400,7 +400,7 @@
          except OSError, e:
              if e.errno == errno.ENOENT:
                  raise BzrCommandError('Source location "%s" does not'
-                                      ' exist.' % to_location)
+                                      ' exist.' % from_location)
              else:
                  raise
          br_from.lock_read()





More information about the bazaar mailing list