[Updated] D8539: git: fix probable missing return

rom1dep (Romain DEP.) phabricator at mercurial-scm.org
Sun May 17 21:18:31 UTC 2020


Closed by commit rHG288328c6711b: git: fix probable missing return (authored by rom1dep).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8539?vs=21403&id=21410

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8539/new/

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

AFFECTED FILES
  hgext/git/manifest.py

CHANGE DETAILS

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)



To: rom1dep, durin42, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200517/6546c36c/attachment-0002.html>


More information about the Mercurial-patches mailing list