mercurial/commands.py
changeset 30999 334cf948c758
parent 30993 9c2977ceaa46
child 31022 705ecab649ea
equal deleted inserted replaced
30998:75e325ce538e 30999:334cf948c758
   359     anyway, although the results will probably be neither useful
   359     anyway, although the results will probably be neither useful
   360     nor desirable.
   360     nor desirable.
   361 
   361 
   362     Returns 0 on success.
   362     Returns 0 on success.
   363     """
   363     """
       
   364     ui.pager('annotate')
   364     if not pats:
   365     if not pats:
   365         raise error.Abort(_('at least one filename or pattern is required'))
   366         raise error.Abort(_('at least one filename or pattern is required'))
   366 
   367 
   367     if opts.get('follow'):
   368     if opts.get('follow'):
   368         # --follow is deprecated and now just an alias for -f/--file
   369         # --follow is deprecated and now just an alias for -f/--file