comparison hgext/evolve.py @ 1162:5c07f464981e stable

help: fix typo in help for 'obsolete' option added to import command
author Mike Edgar <adgar@google.com>
date Tue, 18 Nov 2014 20:27:53 -0500
parents e29a813f6af5
children db2115776696
comparison
equal deleted inserted replaced
1161:ae233fe4529e 1162:5c07f464981e
882 882
883 @eh.uisetup 883 @eh.uisetup
884 def _installimportobsolete(ui): 884 def _installimportobsolete(ui):
885 entry = cmdutil.findcmd('import', commands.table)[1] 885 entry = cmdutil.findcmd('import', commands.table)[1]
886 entry[1].append(('', 'obsolete', False, 886 entry[1].append(('', 'obsolete', False,
887 _('mark the old node as obsoleted by' 887 _('mark the old node as obsoleted by '
888 'the created commit'))) 888 'the created commit')))
889 889
890 @eh.wrapfunction(mercurial.cmdutil, 'tryimportone') 890 @eh.wrapfunction(mercurial.cmdutil, 'tryimportone')
891 def tryimportone(orig, ui, repo, hunk, parents, opts, *args, **kwargs): 891 def tryimportone(orig, ui, repo, hunk, parents, opts, *args, **kwargs):
892 extracted = patch.extract(ui, hunk) 892 extracted = patch.extract(ui, hunk)