Patchwork D12566: idirstate: add missing get_entry() method

login
register
mail settings
Submitter phabricator
Date April 18, 2022, 4:39 p.m.
Message ID <differential-rev-PHID-DREV-dfg5cqz5byod53cxu5xd-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50914/
State New
Headers show

Comments

phabricator - April 18, 2022, 4:39 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12566

AFFECTED FILES
  mercurial/interfaces/dirstate.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/interfaces/dirstate.py b/mercurial/interfaces/dirstate.py
--- a/mercurial/interfaces/dirstate.py
+++ b/mercurial/interfaces/dirstate.py
@@ -61,6 +61,9 @@ 
         used to get real file paths. Use vfs functions instead.
         """
 
+    def get_entry(path):
+        """return a DirstateItem for the associated path"""
+
     def pathto(f, cwd=None):
         pass