comparison hgext/convert/cvsps.py @ 6956:12472a240398

i18n: mark strings for translation in convert extension
author Martin Geisler <mg@daimi.au.dk>
date Sun, 31 Aug 2008 16:12:02 +0200
parents f67d1468ac50
children d4218edd55bd
comparison
equal deleted inserted replaced
6955:a9411e29773f 6956:12472a240398
148 tags = {} # dictionary of revisions on current file with their tags 148 tags = {} # dictionary of revisions on current file with their tags
149 state = 0 149 state = 0
150 store = False # set when a new record can be appended 150 store = False # set when a new record can be appended
151 151
152 cmd = [util.shellquote(arg) for arg in cmd] 152 cmd = [util.shellquote(arg) for arg in cmd]
153 ui.note("running %s\n" % (' '.join(cmd))) 153 ui.note(_("running %s\n") % (' '.join(cmd)))
154 ui.debug("prefix=%r directory=%r root=%r\n" % (prefix, directory, root)) 154 ui.debug(_("prefix=%r directory=%r root=%r\n") % (prefix, directory, root))
155 155
156 for line in util.popen(' '.join(cmd)): 156 for line in util.popen(' '.join(cmd)):
157 if line.endswith('\n'): 157 if line.endswith('\n'):
158 line = line[:-1] 158 line = line[:-1]
159 #ui.debug('state=%d line=%r\n' % (state, line)) 159 #ui.debug('state=%d line=%r\n' % (state, line))