comparison hgext/fetch.py @ 21952:3838b910fa6b stable

doc: unify help text for "--edit" option This patch changes help text for "--edit" option of commands below: - fetch - qnew - qrefresh - qfold - commit - tag This unification reduces translation cost, too. This patch chooses not "further edit commit message already specified" (of "hg commit") but "invoke editor on commit messages" as unified help text for "--edit" option, because the latter is much older than the former.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Wed, 30 Jul 2014 00:14:52 +0900
parents 288a793c3167
children 20fd00ee432e
comparison
equal deleted inserted replaced
21951:59af0b21ec31 21952:3838b910fa6b
17 testedwith = 'internal' 17 testedwith = 'internal'
18 18
19 @command('fetch', 19 @command('fetch',
20 [('r', 'rev', [], 20 [('r', 'rev', [],
21 _('a specific revision you would like to pull'), _('REV')), 21 _('a specific revision you would like to pull'), _('REV')),
22 ('e', 'edit', None, _('edit commit message')), 22 ('e', 'edit', None, _('invoke editor on commit messages')),
23 ('', 'force-editor', None, _('edit commit message (DEPRECATED)')), 23 ('', 'force-editor', None, _('edit commit message (DEPRECATED)')),
24 ('', 'switch-parent', None, _('switch parents when merging')), 24 ('', 'switch-parent', None, _('switch parents when merging')),
25 ] + commands.commitopts + commands.commitopts2 + commands.remoteopts, 25 ] + commands.commitopts + commands.commitopts2 + commands.remoteopts,
26 _('hg fetch [SOURCE]')) 26 _('hg fetch [SOURCE]'))
27 def fetch(ui, repo, source='default', **opts): 27 def fetch(ui, repo, source='default', **opts):