Mercurial > hg-stable
changeset 42328:2a7109cc5a28
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 14 May 2019 22:56:58 -0700 |
parents | 278dcb24e535 |
children | d1786c1d34fa |
files | mercurial/changelog.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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):