# HG changeset patch # User Matt Harbison # Date 1582220527 18000 # Node ID aa9979bb68535ded2c4e8f2642ef2d7135b34c66 # Parent 98f7b9cf7bfc9a3539f44ea6dcf0e5ecfade060d phabricator: rename a variable to clarify that it is the parent filecontext Differential Revision: https://phab.mercurial-scm.org/D8219 diff -r 98f7b9cf7bfc -r aa9979bb6853 hgext/phabricator.py --- a/hgext/phabricator.py Wed Feb 19 13:33:58 2020 -0500 +++ b/hgext/phabricator.py Thu Feb 20 12:42:07 2020 -0500 @@ -814,8 +814,8 @@ currentPath=fname, oldPath=fname, type=DiffChangeType.DELETE ) pchange.addoldmode(gitmode[ctx.p1()[fname].flags()]) - fctx = ctx.p1()[fname] - if not (fctx.isbinary() or notutf8(fctx)): + oldfctx = ctx.p1()[fname] + if not (oldfctx.isbinary() or notutf8(oldfctx)): maketext(pchange, ctx, fname) pdiff.addchange(pchange)