[Pkg-bazaar-commits] ./bzr/unstable r729: - pull shows location being used
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:20:51 UTC 2009
------------------------------------------------------------
revno: 729
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Wed 2005-06-22 10:51:08 +1000
message:
- pull shows location being used
patch from aaron
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-06-21 06:10:18 +0000
+++ b/bzrlib/commands.py 2005-06-22 00:51:08 +0000
@@ -504,9 +504,11 @@
if errno == errno.ENOENT:
raise
if location is None:
- location = stored_loc
- if location is None:
- raise BzrCommandError("No pull location known or specified.")
+ if stored_loc is None:
+ raise BzrCommandError("No pull location known or specified.")
+ else:
+ print "Using last location: %s" % stored_loc
+ location = stored_loc
from branch import find_branch, DivergedBranches
br_from = find_branch(location)
location = pull_loc(br_from)
More information about the Pkg-bazaar-commits
mailing list