Show More
@@ -70,7 +70,7 b' def _matchpaths(repo, rev, pats, opts, a' | |||||
70 | yield p |
|
70 | yield p | |
71 |
|
71 | |||
72 | fastannotatecommandargs = { |
|
72 | fastannotatecommandargs = { | |
73 | 'options': [ |
|
73 | r'options': [ | |
74 | ('r', 'rev', '.', _('annotate the specified revision'), _('REV')), |
|
74 | ('r', 'rev', '.', _('annotate the specified revision'), _('REV')), | |
75 | ('u', 'user', None, _('list the author (long with -v)')), |
|
75 | ('u', 'user', None, _('list the author (long with -v)')), | |
76 | ('f', 'file', None, _('list the filename')), |
|
76 | ('f', 'file', None, _('list the filename')), | |
@@ -88,8 +88,8 b' fastannotatecommandargs = {' | |||||
88 | ('', 'rebuild', None, _('rebuild cache even if it exists ' |
|
88 | ('', 'rebuild', None, _('rebuild cache even if it exists ' | |
89 | '(EXPERIMENTAL)')), |
|
89 | '(EXPERIMENTAL)')), | |
90 | ] + commands.diffwsopts + commands.walkopts + commands.formatteropts, |
|
90 | ] + commands.diffwsopts + commands.walkopts + commands.formatteropts, | |
91 | 'synopsis': _('[-r REV] [-f] [-a] [-u] [-d] [-n] [-c] [-l] FILE...'), |
|
91 | r'synopsis': _('[-r REV] [-f] [-a] [-u] [-d] [-n] [-c] [-l] FILE...'), | |
92 | 'inferrepo': True, |
|
92 | r'inferrepo': True, | |
93 | } |
|
93 | } | |
94 |
|
94 | |||
95 | def fastannotate(ui, repo, *pats, **opts): |
|
95 | def fastannotate(ui, repo, *pats, **opts): | |
@@ -197,7 +197,7 b' def fastannotate(ui, repo, *pats, **opts' | |||||
197 |
|
197 | |||
198 | _newopts = set([]) |
|
198 | _newopts = set([]) | |
199 | _knownopts = set([opt[1].replace('-', '_') for opt in |
|
199 | _knownopts = set([opt[1].replace('-', '_') for opt in | |
200 | (fastannotatecommandargs['options'] + commands.globalopts)]) |
|
200 | (fastannotatecommandargs[r'options'] + commands.globalopts)]) | |
201 |
|
201 | |||
202 | def _annotatewrapper(orig, ui, repo, *pats, **opts): |
|
202 | def _annotatewrapper(orig, ui, repo, *pats, **opts): | |
203 | """used by wrapdefault""" |
|
203 | """used by wrapdefault""" |
General Comments 0
You need to be logged in to leave comments.
Login now