equal
deleted
inserted
replaced
42 supportedkinds = ('file', 'symlink') |
42 supportedkinds = ('file', 'symlink') |
43 |
43 |
44 class bzr_source(common.converter_source): |
44 class bzr_source(common.converter_source): |
45 """Reads Bazaar repositories by using the Bazaar Python libraries""" |
45 """Reads Bazaar repositories by using the Bazaar Python libraries""" |
46 |
46 |
47 def __init__(self, ui, path, revs=None): |
47 def __init__(self, ui, repotype, path, revs=None): |
48 super(bzr_source, self).__init__(ui, path, revs=revs) |
48 super(bzr_source, self).__init__(ui, repotype, path, revs=revs) |
49 |
49 |
50 if not os.path.exists(os.path.join(path, '.bzr')): |
50 if not os.path.exists(os.path.join(path, '.bzr')): |
51 raise common.NoRepo(_('%s does not look like a Bazaar repository') |
51 raise common.NoRepo(_('%s does not look like a Bazaar repository') |
52 % path) |
52 % path) |
53 |
53 |