git: fix probable missing return
authorRomain DEP. <rom1dep@gmail.com>
Mon, 11 May 2020 21:56:43 +0200
changeset 44843 288328c6711b
parent 44842 73d6ce2746d2
child 44844 8bfc6cc8e480
git: fix probable missing return Differential Revision: https://phab.mercurial-scm.org/D8539
hgext/git/manifest.py
--- a/hgext/git/manifest.py	Sun May 17 12:28:32 2020 -0400
+++ b/hgext/git/manifest.py	Mon May 11 21:56:43 2020 +0200
@@ -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)