hgext/convert/gnuarch.py
branchstable
changeset 10938 02d6149a480b
parent 10394 4612cded5176
child 11134 33010ff1fd6f
equal deleted inserted replaced
10933:e3396b218e10 10938:02d6149a480b
    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'