From patchwork Mon Apr 18 16:39:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D12566: idirstate: add missing get_entry() method From: phabricator X-Patchwork-Id: 50914 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Mon, 18 Apr 2022 16:39:42 +0000 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 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