changelog: define changelogrevision.p[12]copies for null revision
Looks like I missed these in
5382d8f8530b (changelog: parse copy
metadata if available in extras, 2017-12-27). `hg debugp[12]copies -r
null` fails before this patch.
Differential Revision: https://phab.mercurial-scm.org/D6376
--- a/mercurial/changelog.py Tue Apr 23 13:29:13 2019 -0700
+++ b/mercurial/changelog.py Tue May 14 22:56:58 2019 -0700
@@ -194,6 +194,8 @@
user = attr.ib(default='')
date = attr.ib(default=(0, 0))
files = attr.ib(default=attr.Factory(list))
+ p1copies = attr.ib(default=None)
+ p2copies = attr.ib(default=None)
description = attr.ib(default='')
class changelogrevision(object):