diff -r 3461814417f3 -r 0bd56c291359 hgext/uncommit.py --- a/hgext/uncommit.py Mon Jan 21 15:29:14 2019 +0000 +++ b/hgext/uncommit.py Fri Jan 25 23:36:23 2019 -0800 @@ -67,7 +67,7 @@ files = (initialfiles - exclude) # return the p1 so that we don't create an obsmarker later if not keepcommit: - return ctx.parents()[0].node() + return ctx.p1().node() # Filter copies copied = copiesmod.pathcopies(base, ctx)