Skip to content
Snippets Groups Projects
Commit 2b65c922 authored by Jeff Sipek's avatar Jeff Sipek
Browse files

git: add parents property to gittreemanifestctx

parent b9f47b68
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1192git: octopus handling, major speed ups, and generally making 'hg log' work
......@@ -10,6 +10,8 @@
Set,
)
from mercurial.node import sha1nodeconstants
from mercurial import (
match as matchmod,
pathutil,
......@@ -19,6 +21,7 @@
from mercurial.interfaces import (
repository,
)
from . import gitutil
if typing.TYPE_CHECKING:
......@@ -330,6 +333,11 @@
def read_delta_new_entries(self, *, shallow: bool = False):
raise NotImplementedError
@property
def parents(self):
# FIXME: the 2 parent nodes
return sha1nodeconstants.nullid, sha1nodeconstants.nullid
class memgittreemanifestctx(repository.imanifestrevisionwritable):
def __init__(self, repo, tree):
......
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