Mercurial > hg-git
changeset 1053:6bb4c99362f0
overlay: update changelogrevision
Upstream changed the representation of this structure, to make it not a named
tuple. So let's update to match it. The tests caught this issue.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 05 Oct 2017 11:22:24 -0700 |
parents | 5821075b289a |
children | e085b381e8e2 |
files | hggit/overlay.py |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/overlay.py Thu Oct 05 11:04:50 2017 -0700 +++ b/hggit/overlay.py Thu Oct 05 11:22:24 2017 -0700 @@ -397,7 +397,15 @@ return overlaychangectx(self.repo, sha).totuple() def changelogrevision(self, noderev): - return changelog._changelogrevision(*self.read(noderev)) + values = self.read(noderev) + return changelog._changelogrevision( + manifest=values[0], + user=values[1], + date=values[2], + files=values[3], + description=values[4], + extra=values[5], + ) class overlayrepo(object): def __init__(self, handler, commits, refs):