changeset 41759 | aaad36b88298 |
parent 41755 | a4358f7345b4 |
child 41766 | cd7059d17cb2 |
--- a/mercurial/context.py Sun Jan 13 20:13:22 2019 -0500 +++ b/mercurial/context.py Wed Feb 20 19:28:51 2019 -0500 @@ -983,9 +983,9 @@ assert (changeid is not None or fileid is not None - or changectx is not None), \ - ("bad args: changeid=%r, fileid=%r, changectx=%r" - % (changeid, fileid, changectx)) + or changectx is not None), ( + "bad args: changeid=%r, fileid=%r, changectx=%r" + % (changeid, fileid, changectx)) if filelog is not None: self._filelog = filelog