Changeset d609ba250402…
Parent a4fefd4e3dbc…
by
Changes to 2 files · Browse files at d609ba250402 Showing diff from parent a4fefd4e3dbc Diff from another changeset...
@@ -313,13 +313,11 @@ def userconfig(ui, *pats, **opts):
"""user configuration editor"""
from tortoisehg.hgtk.thgconfig import run
- opts['repomode'] = False
gtkrun(run, ui, *pats, **opts)
def repoconfig(ui, *pats, **opts):
"""repository configuration editor"""
from tortoisehg.hgtk.thgconfig import run
- opts['repomode'] = True
gtkrun(run, ui, *pats, **opts)
def rename(ui, *pats, **opts):
|
@@ -1128,7 +1128,7 @@ return 0
def run(ui, *pats, **opts):
- dlg = ConfigDialog(opts.get('repomode'))
+ dlg = ConfigDialog(opts.get('alias') == 'repoconfig')
if opts.get('focus', ''):
dlg.focus_field(opts['focus'])
return dlg
|
Loading...