Skip to content
Snippets Groups Projects
Commit 49e363ae authored by Mateusz Kwapich's avatar Mateusz Kwapich
Browse files

overlay: add changelogrevision

test-incoming.t was failing with latest mercurial head (345f4f) because we
didn't implement this method in the git overlay.
parent be0d1413
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
from mercurial import (
ancestor,
changelog,
manifest,
context,
)
......@@ -324,6 +325,9 @@
except LookupError:
return overlaychangectx(self.repo, sha).totuple()
def changelogrevision(self, noderev):
return changelog._changelogrevision(*self.read(noderev))
class overlayrepo(object):
def __init__(self, handler, commits, refs):
self.handler = handler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment