Mercurial > hg
comparison hgext/hgk.py @ 9602:fc493cb90bb1
Merge with redone c655432c2c24 (issue1860)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 16 Oct 2009 11:19:39 +0200 |
parents | 4c041f1ee1b4 |
children | 25e572394f5c |
comparison
equal
deleted
inserted
replaced
9601:11ace5726d02 | 9602:fc493cb90bb1 |
---|---|
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, |