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: add global --quiet option

Used by help command, but never hooked up

Changeset 23e94d90d61e

Parent 542b8de0d864

by Steve Borho

Changes to one file · Browse files at 23e94d90d61e Showing diff from parent 542b8de0d864 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​hgtk.py Stacked
 
226
227
228
 
 
 
229
230
231
 
605
606
607
 
608
609
610
 
226
227
228
229
230
231
232
233
234
 
608
609
610
611
612
613
614
@@ -226,6 +226,9 @@
  extsetup()   _loaded[name] = 1   + if options['quiet']: + ui.quiet = True +   if cmd not in nonrepo_commands.split() and not path:   raise hglib.RepoError(_("There is no Mercurial repository here"   " (.hg not found)")) @@ -605,6 +608,7 @@
  ('R', 'repository', '',   _('repository root directory or symbolic path name')),   ('v', 'verbose', None, _('enable additional output')), + ('q', 'quiet', None, _('suppress output')),   ('h', 'help', None, _('display help and exit')),   ('', 'debugger', None, _('start debugger')),   ('', 'nofork', None, _('do not fork GUI process')),