changeset 36002 | f8ad57d24252 |
parent 35888 | c8e2d6ed1f9e |
child 36003 | fcde8946c553 |
--- a/mercurial/commands.py Sat Jan 27 19:02:33 2018 -0500 +++ b/mercurial/commands.py Sun Jan 21 13:40:31 2018 +0900 @@ -3461,11 +3461,11 @@ if rename: copies.append((fn, rename[0])) if filematcher: - revmatchfn = filematcher(ctx.rev()) + revmatchfn = filematcher(ctx) else: revmatchfn = None if hunksfilter: - revhunksfilter = hunksfilter(rev) + revhunksfilter = hunksfilter(ctx) else: revhunksfilter = None displayer.show(ctx, copies=copies, matchfn=revmatchfn,