##// END OF EJS Templates
convert: brz 3.3.0 moved NoSuchFile exception to breezy.transport
av6 -
r50842:43bfddcb stable
parent child Browse files
Show More
@@ -41,6 +41,12 b' try:'
41 41 revision = breezy.revision
42 42 revisionspec = breezy.revisionspec
43 43 revisionspec.RevisionSpec
44
45 try:
46 # brz 3.3.0 (revno: 7614.2.2)
47 from breezy.transport import NoSuchFile
48 except ImportError:
49 from breezy.errors import NoSuchFile
44 50 except ImportError:
45 51 pass
46 52
@@ -150,7 +156,7 b' class bzr_source(common.converter_source'
150 156
151 157 try:
152 158 kind = revtree.kind(name)
153 except breezy.errors.NoSuchFile:
159 except NoSuchFile:
154 160 return None, None
155 161 if kind not in supportedkinds:
156 162 # the file is not available anymore - was deleted
General Comments 0
You need to be logged in to leave comments. Login now