diff -r 0a330055340c -r 04de8a1ec08f hgext/fix.py --- a/hgext/fix.py Fri Oct 09 00:14:07 2020 -0400 +++ b/hgext/fix.py Fri Oct 09 00:33:50 2020 -0400 @@ -815,8 +815,14 @@ if copysource: wctx.markcopied(path, copysource) + desc = rewriteutil.update_hash_refs( + repo, + ctx.description(), + {oldnode: [newnode] for oldnode, newnode in replacements.items()}, + ) + memctx = wctx.tomemctx( - text=ctx.description(), + text=desc, branch=ctx.branch(), extra=extra, date=ctx.date(),