Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

run: replace all 'hgtk' to 'thg'

Changeset 3ade5dacc955

Parent e467526daa6a

by Yuki KODAMA

Changes to one file · Browse files at 3ade5dacc955 Showing diff from parent e467526daa6a Diff from another changeset...

 
41
42
43
44
 
45
46
47
 
168
169
170
171
 
172
173
174
 
175
176
177
 
178
179
180
 
181
182
183
 
325
326
327
328
 
329
330
331
332
333
 
 
334
335
 
336
337
338
 
339
340
341
 
447
448
449
450
 
451
452
453
 
522
523
524
525
 
526
527
528
529
530
531
 
 
41
42
43
 
44
45
46
47
 
168
169
170
 
171
172
173
 
174
175
176
 
177
178
179
 
180
181
182
183
 
325
326
327
 
328
329
330
331
 
 
332
333
334
 
335
336
337
 
338
339
340
341
 
447
448
449
 
450
451
452
453
 
522
523
524
 
525
526
527
528
529
 
 
530
@@ -41,7 +41,7 @@
 about help version thgstatus serve'''    def dispatch(args): - "run the command specified in args" + """run the command specified in args"""   try:   u = _ui.ui()   if '--traceback' in args: @@ -168,16 +168,16 @@
  ui.flush()   except error.ParseError, inst:   if inst.args[0]: - ui.status(_("hgtk %s: %s\n") % (inst.args[0], inst.args[1])) + ui.status(_("thg %s: %s\n") % (inst.args[0], inst.args[1]))   help_(ui, inst.args[0])   else: - ui.status(_("hgtk: %s\n") % inst.args[1]) + ui.status(_("thg: %s\n") % inst.args[1])   help_(ui, 'shortlist')   except error.AmbiguousCommand, inst: - ui.status(_("hgtk: command '%s' is ambiguous:\n %s\n") % + ui.status(_("thg: command '%s' is ambiguous:\n %s\n") %   (inst.args[0], " ".join(inst.args[1])))   except error.UnknownCommand, inst: - ui.status(_("hgtk: unknown command '%s'\n") % inst.args[0]) + ui.status(_("thg: unknown command '%s'\n") % inst.args[0])   help_(ui, 'shortlist')   except error.RepoError, inst:   ui.status(_("abort: %s!\n") % inst) @@ -325,17 +325,17 @@
  if ui.verbose:   option_lists.append((_("global options:"), globalopts))   if name == 'shortlist': - option_lists.append((_('use "hgtk help" for the full list ' + option_lists.append((_('use "thg help" for the full list '   'of commands'), ()))   else:   if name == 'shortlist': - msg = _('use "hgtk help" for the full list of commands ' - 'or "hgtk -v" for details') + msg = _('use "thg help" for the full list of commands ' + 'or "thg -v" for details')   elif aliases: - msg = _('use "hgtk -v help%s" to show aliases and ' + msg = _('use "thg -v help%s" to show aliases and '   'global options') % (name and " " + name or "")   else: - msg = _('use "hgtk -v help %s" to show global options') % name + msg = _('use "thg -v help %s" to show global options') % name   option_lists.append((msg, ()))     def helpcmd(name): @@ -447,7 +447,7 @@
  if ui.verbose or with_version:   version(ui)   else: - ui.status(_("Hgtk - TortoiseHg's GUI tools for Mercurial SCM (Hg)\n")) + ui.status(_("Thg - TortoiseHg's GUI tools for Mercurial SCM (Hg)\n"))   ui.status('\n')     # list of commands @@ -522,10 +522,9 @@
 ]    table = { - "^clone": (clone, [], _('hgtk clone SOURCE [DEST]')), + "^clone": (clone, [], _('thg clone SOURCE [DEST]')),  }    if os.name == 'nt':   # TODO: extra detection to determine if shell extension is installed - table['shellconfig'] = (shellconfig, [], _('hgtk shellconfig')) - + table['shellconfig'] = (shellconfig, [], _('thg shellconfig'))