Mercurial > hg
comparison hgext/hgk.py @ 9467: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 | 1a9a650004b6 |
children | 25e572394f5c |
comparison
equal
deleted
inserted
replaced
9466:1214c64c592b | 9467:4c041f1ee1b4 |
---|---|
306 def view(ui, repo, *etc, **opts): | 306 def view(ui, repo, *etc, **opts): |
307 "start interactive history viewer" | 307 "start interactive history viewer" |
308 os.chdir(repo.root) | 308 os.chdir(repo.root) |
309 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) | 309 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) |
310 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) | 310 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) |
311 ui.debug(_("running %s\n") % cmd) | 311 ui.debug("running %s\n" % cmd) |
312 util.system(cmd) | 312 util.system(cmd) |
313 | 313 |
314 cmdtable = { | 314 cmdtable = { |
315 "^view": | 315 "^view": |
316 (view, | 316 (view, |