Show More
@@ -279,8 +279,10 b' def revlist(ui, repo, *revs, **opts):' | |||
|
279 | 279 | def view(ui, repo, *etc, **opts): |
|
280 | 280 | "start interactive history viewer" |
|
281 | 281 | os.chdir(repo.root) |
|
282 | optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems()]) | |
|
283 |
|
|
|
282 | optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) | |
|
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 | 287 | cmdtable = { |
|
286 | 288 | "view": (view, |
General Comments 0
You need to be logged in to leave comments.
Login now