comparison mercurial/commands.py @ 8028:3aaca5901ade

expand "rev" to "revision" in help texts
author Martin Geisler <mg@lazybytes.net>
date Tue, 07 Apr 2009 23:06:50 +0200
parents 9c7ca86fc658
children e0c434abd530
comparison
equal deleted inserted replaced
8027:9c7ca86fc658 8028:3aaca5901ade
3218 ('', 'all', None, _('print all revisions that match')), 3218 ('', 'all', None, _('print all revisions that match')),
3219 ('f', 'follow', None, 3219 ('f', 'follow', None,
3220 _('follow changeset history, or file history across copies and renames')), 3220 _('follow changeset history, or file history across copies and renames')),
3221 ('i', 'ignore-case', None, _('ignore case when matching')), 3221 ('i', 'ignore-case', None, _('ignore case when matching')),
3222 ('l', 'files-with-matches', None, 3222 ('l', 'files-with-matches', None,
3223 _('print only filenames and revs that match')), 3223 _('print only filenames and revisions that match')),
3224 ('n', 'line-number', None, _('print matching line numbers')), 3224 ('n', 'line-number', None, _('print matching line numbers')),
3225 ('r', 'rev', [], _('search in given revision range')), 3225 ('r', 'rev', [], _('search in given revision range')),
3226 ('u', 'user', None, _('list the author (long with -v)')), 3226 ('u', 'user', None, _('list the author (long with -v)')),
3227 ('d', 'date', None, _('list the date (short with -q)')), 3227 ('d', 'date', None, _('list the date (short with -q)')),
3228 ] + walkopts, 3228 ] + walkopts,
3235 ] + templateopts, 3235 ] + templateopts,
3236 _('[-r REV] [REV]...')), 3236 _('[-r REV] [REV]...')),
3237 "help": (help_, [], _('[TOPIC]')), 3237 "help": (help_, [], _('[TOPIC]')),
3238 "identify|id": 3238 "identify|id":
3239 (identify, 3239 (identify,
3240 [('r', 'rev', '', _('identify the specified rev')), 3240 [('r', 'rev', '', _('identify the specified revision')),
3241 ('n', 'num', None, _('show local revision number')), 3241 ('n', 'num', None, _('show local revision number')),
3242 ('i', 'id', None, _('show global revision id')), 3242 ('i', 'id', None, _('show global revision id')),
3243 ('b', 'branch', None, _('show branch')), 3243 ('b', 'branch', None, _('show branch')),
3244 ('t', 'tags', None, _('show tags'))], 3244 ('t', 'tags', None, _('show tags'))],
3245 _('[-nibt] [-r REV] [SOURCE]')), 3245 _('[-nibt] [-r REV] [SOURCE]')),
3286 (log, 3286 (log,
3287 [('f', 'follow', None, 3287 [('f', 'follow', None,
3288 _('follow changeset history, or file history across copies and renames')), 3288 _('follow changeset history, or file history across copies and renames')),
3289 ('', 'follow-first', None, 3289 ('', 'follow-first', None,
3290 _('only follow the first parent of merge changesets')), 3290 _('only follow the first parent of merge changesets')),
3291 ('d', 'date', '', _('show revs matching date spec')), 3291 ('d', 'date', '', _('show revisions matching date spec')),
3292 ('C', 'copies', None, _('show copied files')), 3292 ('C', 'copies', None, _('show copied files')),
3293 ('k', 'keyword', [], _('do case-insensitive search for a keyword')), 3293 ('k', 'keyword', [], _('do case-insensitive search for a keyword')),
3294 ('r', 'rev', [], _('show the specified revision or range')), 3294 ('r', 'rev', [], _('show the specified revision or range')),
3295 ('', 'removed', None, _('include revs where files were removed')), 3295 ('', 'removed', None, _('include revisions where files were removed')),
3296 ('m', 'only-merges', None, _('show only merges')), 3296 ('m', 'only-merges', None, _('show only merges')),
3297 ('u', 'user', [], _('revs committed by user')), 3297 ('u', 'user', [], _('revisions committed by user')),
3298 ('b', 'only-branch', [], 3298 ('b', 'only-branch', [],
3299 _('show only changesets within the given named branch')), 3299 _('show only changesets within the given named branch')),
3300 ('P', 'prune', [], _('do not display revision or any of its ancestors')), 3300 ('P', 'prune', [], _('do not display revision or any of its ancestors')),
3301 ] + logopts + walkopts, 3301 ] + logopts + walkopts,
3302 _('[OPTION]... [FILE]')), 3302 _('[OPTION]... [FILE]')),
3319 ('n', 'newest-first', None, _('show newest record first')), 3319 ('n', 'newest-first', None, _('show newest record first')),
3320 ] + logopts + remoteopts, 3320 ] + logopts + remoteopts,
3321 _('[-M] [-p] [-n] [-f] [-r REV]... [DEST]')), 3321 _('[-M] [-p] [-n] [-f] [-r REV]... [DEST]')),
3322 "^parents": 3322 "^parents":
3323 (parents, 3323 (parents,
3324 [('r', 'rev', '', _('show parents from the specified rev')), 3324 [('r', 'rev', '', _('show parents from the specified revision')),
3325 ] + templateopts, 3325 ] + templateopts,
3326 _('hg parents [-r REV] [FILE]')), 3326 _('hg parents [-r REV] [FILE]')),
3327 "paths": (paths, [], _('[NAME]')), 3327 "paths": (paths, [], _('[NAME]')),
3328 "^pull": 3328 "^pull":
3329 (pull, 3329 (pull,