Patchwork [1,of,5] git: implement stub prefetch_parents dirstate method

login
register
mail settings
Submitter Josef 'Jeff' Sipek
Date June 1, 2020, 3:32 p.m.
Message ID <1a21d199a8b00e5fb256.1591025565@meili>
Download mbox | patch
Permalink /patch/46453/
State Accepted
Headers show

Comments

Josef 'Jeff' Sipek - June 1, 2020, 3:32 p.m.
# HG changeset patch
# User Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
# Date 1591016388 14400
#      Mon Jun 01 08:59:48 2020 -0400
# Node ID 1a21d199a8b00e5fb2566ca99fab417253b13b19
# Parent  1537ce87e3ba3759470aaaa812143ee972ef9eb8
git: implement stub prefetch_parents dirstate method

A recent change (35b255e474d9) introduced this new required dirstate method
but didn't update the git extension.

Patch

diff --git a/hgext/git/dirstate.py b/hgext/git/dirstate.py
--- a/hgext/git/dirstate.py
+++ b/hgext/git/dirstate.py
@@ -288,6 +288,10 @@  class gitdirstate(object):
         # TODO: track copies?
         return None
 
+    def prefetch_parents(self):
+        # TODO
+        pass
+
     @contextlib.contextmanager
     def parentchange(self):
         # TODO: track this maybe?