[Pkg-bazaar-commits] ./bzr/unstable r789: - patch from john to cope with branches with missing x-pull file
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:21:03 UTC 2009
------------------------------------------------------------
revno: 789
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-06-27 11:27:02 +1000
message:
- patch from john to cope with branches with missing x-pull file
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-06-27 01:22:28 +0000
+++ b/bzrlib/commands.py 2005-06-27 01:27:02 +0000
@@ -476,7 +476,7 @@
try:
stored_loc = br_to.controlfile("x-pull", "rb").read().rstrip('\n')
except IOError, e:
- if errno == errno.ENOENT:
+ if e.errno != errno.ENOENT:
raise
if location is None:
if stored_loc is None:
More information about the Pkg-bazaar-commits
mailing list