Mercurial > hg > mercurial-source
comparison hgext/convert/cvsps.py @ 9466:4c041f1ee1b4
do not attempt to translate ui.debug output
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 19 Sep 2009 01:15:38 +0200 |
parents | 1fa80c5428b8 |
children | 69ce7a10e593 25e572394f5c |
comparison
equal
deleted
inserted
replaced
9465:1214c64c592b | 9466:4c041f1ee1b4 |
---|---|
197 state = 0 | 197 state = 0 |
198 store = False # set when a new record can be appended | 198 store = False # set when a new record can be appended |
199 | 199 |
200 cmd = [util.shellquote(arg) for arg in cmd] | 200 cmd = [util.shellquote(arg) for arg in cmd] |
201 ui.note(_("running %s\n") % (' '.join(cmd))) | 201 ui.note(_("running %s\n") % (' '.join(cmd))) |
202 ui.debug(_("prefix=%r directory=%r root=%r\n") % (prefix, directory, root)) | 202 ui.debug("prefix=%r directory=%r root=%r\n" % (prefix, directory, root)) |
203 | 203 |
204 pfp = util.popen(' '.join(cmd)) | 204 pfp = util.popen(' '.join(cmd)) |
205 peek = pfp.readline() | 205 peek = pfp.readline() |
206 while True: | 206 while True: |
207 line = peek | 207 line = peek |
376 if (store and | 376 if (store and |
377 e.dead and | 377 e.dead and |
378 e.revision[-1] == 1 and # 1.1 or 1.1.x.1 | 378 e.revision[-1] == 1 and # 1.1 or 1.1.x.1 |
379 len(e.comment) == 1 and | 379 len(e.comment) == 1 and |
380 file_added_re.match(e.comment[0])): | 380 file_added_re.match(e.comment[0])): |
381 ui.debug(_('found synthetic revision in %s: %r\n') | 381 ui.debug('found synthetic revision in %s: %r\n' |
382 % (e.rcs, e.comment[0])) | 382 % (e.rcs, e.comment[0])) |
383 e.synthetic = True | 383 e.synthetic = True |
384 | 384 |
385 if store: | 385 if store: |
386 # clean up the results and save in the log. | 386 # clean up the results and save in the log. |