# HG changeset patch # User Matt Harbison # Date 2022-04-18 15:15:29 # Node ID 9c8d67a3af5e1f360f4a3677fb205bb27a34d0e2 # Parent 7afa96d3b484e96200bed05d365f2612f8e99c39 idirstate: add missing get_entry() method Differential Revision: https://phab.mercurial-scm.org/D12566 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 @@ class idirstate(interfaceutil.Interface) 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