Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

hgtk: simplify thgconfig options

Changeset d609ba250402

Parent a4fefd4e3dbc

by Steve Borho

Changes to 2 files · Browse files at d609ba250402 Showing diff from parent a4fefd4e3dbc Diff from another changeset...

 
313
314
315
316
317
318
319
320
321
322
323
324
325
 
313
314
315
 
316
317
318
319
320
 
321
322
323
@@ -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
1129
1130
1131
 
1132
1133
1134
 
1128
1129
1130
 
1131
1132
1133
1134
@@ -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