From patchwork Sun May 17 17:39:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8539: git: fix probable missing return From: phabricator X-Patchwork-Id: 46327 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Sun, 17 May 2020 17:39:38 +0000 rom1dep created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8539 AFFECTED FILES hgext/git/manifest.py CHANGE DETAILS To: rom1dep, durin42, #hg-reviewers Cc: mercurial-patches, mercurial-devel diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py --- a/hgext/git/manifest.py +++ b/hgext/git/manifest.py @@ -205,7 +205,7 @@ return memgittreemanifestctx(self._repo, self._tree) def find(self, path): - self.read()[path] + return self.read()[path] @interfaceutil.implementer(repository.imanifestrevisionwritable)