##// END OF EJS Templates
configitems: register the 'hgk.path' config
Boris Feld -
r34500:b8f74c4d default
parent child Browse files
Show More
@@ -61,6 +61,13 b' command = registrar.command(cmdtable)'
61 61 # leave the attribute unspecified.
62 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 71 @command('debug-diff-tree',
65 72 [('p', 'patch', None, _('generate patch')),
66 73 ('r', 'recursive', None, _('recursive')),
@@ -346,6 +353,6 b' def view(ui, repo, *etc, **opts):'
346 353 if repo.filtername is None:
347 354 optstr += '--hidden'
348 355
349 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
356 cmd = ui.config("hgk", "path") + " %s %s" % (optstr, " ".join(etc))
350 357 ui.debug("running %s\n" % cmd)
351 358 ui.system(cmd, blockedtag='hgk_view')
General Comments 0
You need to be logged in to leave comments. Login now