hgext/git/manifest.py |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


# HG changeset patch
# User Josef 'Jeff' Sipek <jef...@josefsipek.net>
# Date 1735835621 18000
#      Thu Jan 02 11:33:41 2025 -0500
# Node ID 89e76c15d467483b9272b1ac7bfebb42132defbf
# Parent  9e1a23c56c561d136d273cecb35f515fbd57adcd
git: add parents property to gittreemanifestctx

diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py
--- a/hgext/git/manifest.py
+++ b/hgext/git/manifest.py
@@ -329,6 +329,10 @@ class gittreemanifestctx(repository.iman
     def read_delta_new_entries(self, *, shallow: bool = False):
         raise error.Abort(b"not yet implemented")
 
+    @property
+    def parents(self):
+        return (None, None) # FIXME: the 2 parent nodes
+
 
 class memgittreemanifestctx(repository.imanifestrevisionwritable):
     def __init__(self, repo, tree):

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to