##// END OF EJS Templates
hgk: fix mixup of --limit and REVRANGE in hgk call
TK Soh -
r3180:eb0906eb default
parent child Browse files
Show More
@@ -279,8 +279,10 b' def revlist(ui, repo, *revs, **opts):'
279 def view(ui, repo, *etc, **opts):
279 def view(ui, repo, *etc, **opts):
280 "start interactive history viewer"
280 "start interactive history viewer"
281 os.chdir(repo.root)
281 os.chdir(repo.root)
282 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems()])
282 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
283 os.system(ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)))
283 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
284 ui.debug("running %s\n" % cmd)
285 os.system(cmd)
284
286
285 cmdtable = {
287 cmdtable = {
286 "view": (view,
288 "view": (view,
General Comments 0
You need to be logged in to leave comments. Login now