Show More
@@ -61,6 +61,13 b' command = registrar.command(cmdtable)' | |||||
61 | # leave the attribute unspecified. |
|
61 | # leave the attribute unspecified. | |
62 | testedwith = 'ships-with-hg-core' |
|
62 | testedwith = 'ships-with-hg-core' | |
63 |
|
63 | |||
|
64 | configtable = {} | |||
|
65 | configitem = registrar.configitem(configtable) | |||
|
66 | ||||
|
67 | configitem('hgk', 'path', | |||
|
68 | default='hgk', | |||
|
69 | ) | |||
|
70 | ||||
64 | @command('debug-diff-tree', |
|
71 | @command('debug-diff-tree', | |
65 | [('p', 'patch', None, _('generate patch')), |
|
72 | [('p', 'patch', None, _('generate patch')), | |
66 | ('r', 'recursive', None, _('recursive')), |
|
73 | ('r', 'recursive', None, _('recursive')), | |
@@ -346,6 +353,6 b' def view(ui, repo, *etc, **opts):' | |||||
346 | if repo.filtername is None: |
|
353 | if repo.filtername is None: | |
347 | optstr += '--hidden' |
|
354 | optstr += '--hidden' | |
348 |
|
355 | |||
349 |
cmd = ui.config("hgk", "path |
|
356 | cmd = ui.config("hgk", "path") + " %s %s" % (optstr, " ".join(etc)) | |
350 | ui.debug("running %s\n" % cmd) |
|
357 | ui.debug("running %s\n" % cmd) | |
351 | ui.system(cmd, blockedtag='hgk_view') |
|
358 | ui.system(cmd, blockedtag='hgk_view') |
General Comments 0
You need to be logged in to leave comments.
Login now