Rev 2284: (John Arbash Meinel) (trivial) remove unused and incorrect code. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Tue Feb 13 16:12:33 GMT 2007
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 2284
revision-id: john at arbash-meinel.com-20070213161227-neb9gdl0o9z90s0f
parent: pqm at pqm.ubuntu.com-20070213114814-9606106906ac312f
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2007-02-13 10:12:27 -0600
message:
(John Arbash Meinel) (trivial) remove unused and incorrect code.
modified:
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2007-02-13 11:48:14 +0000
+++ b/bzrlib/builtins.py 2007-02-13 16:12:27 +0000
@@ -813,14 +813,8 @@
elif len(revision) > 1:
raise errors.BzrCommandError(
'bzr branch --revision takes exactly 1 revision value')
- try:
- br_from = Branch.open(from_location)
- except OSError, e:
- if e.errno == errno.ENOENT:
- raise errors.BzrCommandError('Source location "%s" does not'
- ' exist.' % to_location)
- else:
- raise
+
+ br_from = Branch.open(from_location)
br_from.lock_read()
try:
if basis is not None:
More information about the bazaar-commits
mailing list