changeset 44902:288328c6711b

git: fix probable missing return Differential Revision: https://phab.mercurial-scm.org/D8539
author Romain DEP. <rom1dep@gmail.com>
date Mon, 11 May 2020 21:56:43 +0200
parents 73d6ce2746d2
children 8bfc6cc8e480
files hgext/git/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)