Mercurial > hg
comparison hgext/convert/gnuarch.py @ 6078:ebc23d34102f
convert: added gnu arch (baz) tests
author | Aleix Conchillo Flaque <aleix@member.fsf.org> |
---|---|
date | Tue, 12 Feb 2008 10:38:34 +0100 |
parents | a3d8b1f8721d |
children | ea34059b89de |
comparison
equal
deleted
inserted
replaced
6073:89c70d496175 | 6078:ebc23d34102f |
---|---|
21 | 21 |
22 def __init__(self, ui, path, rev=None): | 22 def __init__(self, ui, path, rev=None): |
23 super(gnuarch_source, self).__init__(ui, path, rev=rev) | 23 super(gnuarch_source, self).__init__(ui, path, rev=rev) |
24 | 24 |
25 if not os.path.exists(os.path.join(path, '{arch}')): | 25 if not os.path.exists(os.path.join(path, '{arch}')): |
26 raise NoRepo(_("couldn't open GNU Arch repo %s" % path)) | 26 raise NoRepo(_("%s does not look like a GNU Arch repo" % path)) |
27 | 27 |
28 # Could use checktool, but we want to check for baz or tla. | 28 # Could use checktool, but we want to check for baz or tla. |
29 self.execmd = None | 29 self.execmd = None |
30 if util.find_exe('tla'): | 30 if util.find_exe('tla'): |
31 self.execmd = 'tla' | 31 self.execmd = 'tla' |