equal
deleted
inserted
replaced
4476 specifying custom templates. |
4476 specifying custom templates. |
4477 |
4477 |
4478 Returns 0 on success. |
4478 Returns 0 on success. |
4479 |
4479 |
4480 """ |
4480 """ |
|
4481 if opts.get('follow') and opts.get('rev'): |
|
4482 opts['rev'] = [revset.formatspec('reverse(::%lr)', opts.get('rev'))] |
|
4483 del opts['follow'] |
|
4484 |
4481 if opts.get('graph'): |
4485 if opts.get('graph'): |
4482 return cmdutil.graphlog(ui, repo, *pats, **opts) |
4486 return cmdutil.graphlog(ui, repo, *pats, **opts) |
4483 |
4487 |
4484 revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts) |
4488 revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts) |
4485 limit = cmdutil.loglimit(opts) |
4489 limit = cmdutil.loglimit(opts) |