comparison hgext/convert/p4.py @ 10939:9f6731b03906 stable

convert: mark strings for translation
author Martin Geisler <mg@lazybytes.net>
date Sun, 18 Apr 2010 15:47:49 +0200
parents 02d6149a480b
children 33010ff1fd6f
comparison
equal deleted inserted replaced
10938:02d6149a480b 10939:9f6731b03906
26 class p4_source(converter_source): 26 class p4_source(converter_source):
27 def __init__(self, ui, path, rev=None): 27 def __init__(self, ui, path, rev=None):
28 super(p4_source, self).__init__(ui, path, rev=rev) 28 super(p4_source, self).__init__(ui, path, rev=rev)
29 29
30 if "/" in path and not path.startswith('//'): 30 if "/" in path and not path.startswith('//'):
31 raise NoRepo('%s does not look like a P4 repository' % path) 31 raise NoRepo(_('%s does not look like a P4 repository') % path)
32 32
33 checktool('p4', abort=False) 33 checktool('p4', abort=False)
34 34
35 self.p4changes = {} 35 self.p4changes = {}
36 self.heads = {} 36 self.heads = {}