dirstate: add missing return on platforms without exec or symlink
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 20 Oct 2021 18:40:03 +0200
changeset 48285 8f54d9c79b12
parent 48284 126feb805247
child 48286 0d6a099bba58
dirstate: add missing return on platforms without exec or symlink Differential Revision: https://phab.mercurial-scm.org/D11713
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed Oct 20 18:25:49 2021 +0200
+++ b/mercurial/dirstate.py	Wed Oct 20 18:40:03 2021 +0200
@@ -300,6 +300,8 @@
                         return b''
                 return fallback(x)
 
+            return f
+
     @propertycache
     def _cwd(self):
         # internal config: ui.forcecwd