Mercurial > hg-stable
changeset 715:938dd667ca21
Make annotate use option --rev instead od --revision like other commands.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Make annotate use option --rev instead od --revision like other commands.
manifest hash: fe9c9cd9d42657f60d302b557f1f33640fd51199
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC2LAwW7P1GVgWeRoRAqYKAJ4tiLIVTRN0Ot6bjrEZRc9VFrk3zwCdGx/C
PhOGWMHVlNYGZxmdXridIc4=
=J7Cn
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 16 Jul 2005 07:58:56 +0100 |
parents | 29fcd195e056 |
children | 63b331d754d0 |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Jul 16 07:56:39 2005 +0100 +++ b/mercurial/commands.py Sat Jul 16 07:58:56 2005 +0100 @@ -336,8 +336,8 @@ if not opts['user'] and not opts['changeset']: opts['number'] = 1 - if opts['revision']: - node = repo.changelog.lookup(opts['revision']) + if opts['rev']: + node = repo.changelog.lookup(opts['rev']) else: node = repo.dirstate.parents()[0] change = repo.changelog.read(node) @@ -1092,7 +1092,7 @@ "addremove": (addremove, [], "hg addremove [FILE]..."), "^annotate": (annotate, - [('r', 'revision', '', 'revision'), + [('r', 'rev', '', 'revision'), ('u', 'user', None, 'show user'), ('n', 'number', None, 'show revision number'), ('c', 'changeset', None, 'show changeset')],