290
299
format, UnknownFormatError or UnsupportedFormatError are raised.
291
300
If there is one, it is returned, along with the unused portion of url.
294
302
# this gets the normalised url back. I.e. '.' -> the full path.
300
308
except errors.NotBranchError, e:
304
312
# reached the root, whatever that may be
305
313
raise errors.NotBranchError(path=url)
308
316
def open_repository(self, _unsupported=False):
309
317
"""Open the repository object at this BzrDir if one is present.