comparison mercurial/commands.py @ 2044:b343e7d454b4

Don't allow --style and --template for hg update and hg merge. The only way that changesets will be shown with these command is in an error message when trying to update to an ambiguous branch name.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 03 Apr 2006 21:38:59 +0200
parents 968f036f93a4
children 5796edb127e6
comparison
equal deleted inserted replaced
2043:968f036f93a4 2044:b343e7d454b4
2989 ('I', 'include', [], _('include names matching the given patterns')), 2989 ('I', 'include', [], _('include names matching the given patterns')),
2990 ('X', 'exclude', [], _('exclude names matching the given patterns'))], 2990 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2991 _('hg log [OPTION]... [FILE]')), 2991 _('hg log [OPTION]... [FILE]')),
2992 "manifest": (manifest, [], _('hg manifest [REV]')), 2992 "manifest": (manifest, [], _('hg manifest [REV]')),
2993 "merge": 2993 "merge":
2994 (merge, 2994 (merge,
2995 [('b', 'branch', '', _('merge with head of a specific branch')), 2995 [('b', 'branch', '', _('merge with head of a specific branch')),
2996 ('', 'style', '', _('display using template map file')), 2996 ('f', 'force', None, _('force a merge with outstanding changes'))],
2997 ('f', 'force', None, _('force a merge with outstanding changes')), 2997 _('hg merge [-b TAG] [-f] [REV]')),
2998 ('', 'template', '', _('display with template'))],
2999 _('hg merge [-b TAG] [-f] [REV]')),
3000 "outgoing|out": (outgoing, 2998 "outgoing|out": (outgoing,
3001 [('M', 'no-merges', None, _('do not show merges')), 2999 [('M', 'no-merges', None, _('do not show merges')),
3002 ('f', 'force', None, 3000 ('f', 'force', None,
3003 _('run even when remote repository is unrelated')), 3001 _('run even when remote repository is unrelated')),
3004 ('p', 'patch', None, _('show patch')), 3002 ('p', 'patch', None, _('show patch')),
3120 _('hg unbundle [-u] FILE')), 3118 _('hg unbundle [-u] FILE')),
3121 "undo": (undo, [], _('hg undo')), 3119 "undo": (undo, [], _('hg undo')),
3122 "^update|up|checkout|co": 3120 "^update|up|checkout|co":
3123 (update, 3121 (update,
3124 [('b', 'branch', '', _('checkout the head of a specific branch')), 3122 [('b', 'branch', '', _('checkout the head of a specific branch')),
3125 ('', 'style', '', _('display using template map file')),
3126 ('m', 'merge', None, _('allow merging of branches')), 3123 ('m', 'merge', None, _('allow merging of branches')),
3127 ('C', 'clean', None, _('overwrite locally modified files')), 3124 ('C', 'clean', None, _('overwrite locally modified files')),
3128 ('f', 'force', None, _('force a merge with outstanding changes')), 3125 ('f', 'force', None, _('force a merge with outstanding changes'))],
3129 ('', 'template', '', _('display with template'))],
3130 _('hg update [-b TAG] [-m] [-C] [-f] [REV]')), 3126 _('hg update [-b TAG] [-m] [-C] [-f] [REV]')),
3131 "verify": (verify, [], _('hg verify')), 3127 "verify": (verify, [], _('hg verify')),
3132 "version": (show_version, [], _('hg version')), 3128 "version": (show_version, [], _('hg version')),
3133 } 3129 }
3134 3130