Patchwork D6376: changelog: define changelogrevision.p[12]copies for null revision

login
register
mail settings
Submitter phabricator
Date May 15, 2019, 6:04 p.m.
Message ID <5f75f7f29b0e1073f23a2874660fbcd6@localhost.localdomain>
Download mbox | patch
Permalink /patch/40056/
State Not Applicable
Headers show

Comments

phabricator - May 15, 2019, 6:04 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2a7109cc5a28: changelog: define changelogrevision.p[12]copies for null revision (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6376?vs=15086&id=15111

REVISION DETAIL
  https://phab.mercurial-scm.org/D6376

AFFECTED FILES
  mercurial/changelog.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/changelog.py b/mercurial/changelog.py
--- a/mercurial/changelog.py
+++ b/mercurial/changelog.py
@@ -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):