changeset 37776 | 141017c7f7a9 |
parent 37769 | 6a7ff5816c5f |
child 37778 | f10cb49951e1 |
--- a/mercurial/commands.py Tue Apr 17 21:59:58 2018 +0900 +++ b/mercurial/commands.py Fri Apr 13 23:45:07 2018 +0900 @@ -3477,8 +3477,8 @@ getrenamed = None if opts.get('copies'): endrev = None - if opts.get('rev'): - endrev = scmutil.revrange(repo, opts.get('rev')).max() + 1 + if revs: + endrev = revs.max() + 1 getrenamed = templatekw.getrenamedfn(repo, endrev=endrev) ui.pager('log')