Show More
@@ -361,7 +361,6 b' def annotate(ui, repo, *pats, **opts):' | |||||
361 |
|
361 | |||
362 | Returns 0 on success. |
|
362 | Returns 0 on success. | |
363 | """ |
|
363 | """ | |
364 | ui.pager('annotate') |
|
|||
365 | if not pats: |
|
364 | if not pats: | |
366 | raise error.Abort(_('at least one filename or pattern is required')) |
|
365 | raise error.Abort(_('at least one filename or pattern is required')) | |
367 |
|
366 | |||
@@ -422,6 +421,8 b' def annotate(ui, repo, *pats, **opts):' | |||||
422 | if linenumber and (not opts.get('changeset')) and (not opts.get('number')): |
|
421 | if linenumber and (not opts.get('changeset')) and (not opts.get('number')): | |
423 | raise error.Abort(_('at least one of -n/-c is required for -l')) |
|
422 | raise error.Abort(_('at least one of -n/-c is required for -l')) | |
424 |
|
423 | |||
|
424 | ui.pager('annotate') | |||
|
425 | ||||
425 | if fm.isplain(): |
|
426 | if fm.isplain(): | |
426 | def makefunc(get, fmt): |
|
427 | def makefunc(get, fmt): | |
427 | return lambda x: fmt(get(x)) |
|
428 | return lambda x: fmt(get(x)) |
General Comments 0
You need to be logged in to leave comments.
Login now