Show More
@@ -336,8 +336,8 b' def annotate(ui, repo, file1, *files, **' | |||||
336 | if not opts['user'] and not opts['changeset']: |
|
336 | if not opts['user'] and not opts['changeset']: | |
337 | opts['number'] = 1 |
|
337 | opts['number'] = 1 | |
338 |
|
338 | |||
339 |
if opts['rev |
|
339 | if opts['rev']: | |
340 |
node = repo.changelog.lookup(opts['rev |
|
340 | node = repo.changelog.lookup(opts['rev']) | |
341 | else: |
|
341 | else: | |
342 | node = repo.dirstate.parents()[0] |
|
342 | node = repo.dirstate.parents()[0] | |
343 | change = repo.changelog.read(node) |
|
343 | change = repo.changelog.read(node) | |
@@ -1092,7 +1092,7 b' table = {' | |||||
1092 | "addremove": (addremove, [], "hg addremove [FILE]..."), |
|
1092 | "addremove": (addremove, [], "hg addremove [FILE]..."), | |
1093 | "^annotate": |
|
1093 | "^annotate": | |
1094 | (annotate, |
|
1094 | (annotate, | |
1095 |
[('r', 'rev |
|
1095 | [('r', 'rev', '', 'revision'), | |
1096 | ('u', 'user', None, 'show user'), |
|
1096 | ('u', 'user', None, 'show user'), | |
1097 | ('n', 'number', None, 'show revision number'), |
|
1097 | ('n', 'number', None, 'show revision number'), | |
1098 | ('c', 'changeset', None, 'show changeset')], |
|
1098 | ('c', 'changeset', None, 'show changeset')], |
General Comments 0
You need to be logged in to leave comments.
Login now