equal
deleted
inserted
replaced
3391 specifying custom templates. |
3391 specifying custom templates. |
3392 |
3392 |
3393 Returns 0 on success. |
3393 Returns 0 on success. |
3394 |
3394 |
3395 """ |
3395 """ |
|
3396 opts = pycompat.byteskwargs(opts) |
3396 if opts.get('follow') and opts.get('rev'): |
3397 if opts.get('follow') and opts.get('rev'): |
3397 opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))] |
3398 opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))] |
3398 del opts['follow'] |
3399 del opts['follow'] |
3399 |
3400 |
3400 if opts.get('graph'): |
3401 if opts.get('graph'): |