[Pkg-bazaar-commits] ./bzr/unstable r425: - check from aaron for existence of a branch
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:52:15 UTC 2009
------------------------------------------------------------
revno: 425
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 14:02:02 +1000
message:
- check from aaron for existence of a branch
modified:
bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py 2005-05-09 08:27:49 +0000
+++ b/bzrlib/branch.py 2005-05-10 04:02:02 +0000
@@ -63,6 +63,9 @@
f = os.path.realpath(f)
else:
f = os.path.abspath(f)
+ if not os.path.exists(f):
+ raise BzrError('%r does not exist' % f)
+
orig_f = f
More information about the Pkg-bazaar-commits
mailing list