Show More
@@ -3849,9 +3849,11 b' def log(ui, repo, *pats, **opts):' | |||
|
3849 | 3849 | limit = cmdutil.loglimit(opts) |
|
3850 | 3850 | count = 0 |
|
3851 | 3851 | |
|
3852 | endrev = None | |
|
3853 |
if opts.get('copies') |
|
|
3854 | endrev = max(scmutil.revrange(repo, opts.get('rev'))) + 1 | |
|
3852 | getrenamed, endrev = None, None | |
|
3853 | if opts.get('copies'): | |
|
3854 | if opts.get('rev'): | |
|
3855 | endrev = max(scmutil.revrange(repo, opts.get('rev'))) + 1 | |
|
3856 | getrenamed = templatekw.getrenamedfn(repo, endrev=endrev) | |
|
3855 | 3857 | |
|
3856 | 3858 | df = False |
|
3857 | 3859 | if opts["date"]: |
@@ -3895,9 +3897,8 b' def log(ui, repo, *pats, **opts):' | |||
|
3895 | 3897 | return |
|
3896 | 3898 | |
|
3897 | 3899 | copies = None |
|
3898 |
if |
|
|
3900 | if getrenamed is not None and rev: | |
|
3899 | 3901 | copies = [] |
|
3900 | getrenamed = templatekw.getrenamedfn(repo, endrev=endrev) | |
|
3901 | 3902 | for fn in ctx.files(): |
|
3902 | 3903 | rename = getrenamed(fn, rev) |
|
3903 | 3904 | if rename: |
General Comments 0
You need to be logged in to leave comments.
Login now