equal
deleted
inserted
replaced
29 |
29 |
30 def __init__(self, ui, path, rev=None): |
30 def __init__(self, ui, path, rev=None): |
31 super(gnuarch_source, self).__init__(ui, path, rev=rev) |
31 super(gnuarch_source, self).__init__(ui, path, rev=rev) |
32 |
32 |
33 if not os.path.exists(os.path.join(path, '{arch}')): |
33 if not os.path.exists(os.path.join(path, '{arch}')): |
34 raise NoRepo(_("%s does not look like a GNU Arch repo") % path) |
34 raise NoRepo(_("%s does not look like a GNU Arch repository") |
|
35 % path) |
35 |
36 |
36 # Could use checktool, but we want to check for baz or tla. |
37 # Could use checktool, but we want to check for baz or tla. |
37 self.execmd = None |
38 self.execmd = None |
38 if util.find_exe('baz'): |
39 if util.find_exe('baz'): |
39 self.execmd = 'baz' |
40 self.execmd = 'baz' |