##// 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 revision = breezy.revision
41 revision = breezy.revision
42 revisionspec = breezy.revisionspec
42 revisionspec = breezy.revisionspec
43 revisionspec.RevisionSpec
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 except ImportError:
50 except ImportError:
45 pass
51 pass
46
52
@@ -150,7 +156,7 b' class bzr_source(common.converter_source'
150
156
151 try:
157 try:
152 kind = revtree.kind(name)
158 kind = revtree.kind(name)
153 except breezy.errors.NoSuchFile:
159 except NoSuchFile:
154 return None, None
160 return None, None
155 if kind not in supportedkinds:
161 if kind not in supportedkinds:
156 # the file is not available anymore - was deleted
162 # the file is not available anymore - was deleted
General Comments 0
You need to be logged in to leave comments. Login now