changeset 48281:8f54d9c79b12

dirstate: add missing return on platforms without exec or symlink Differential Revision: https://phab.mercurial-scm.org/D11713
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 20 Oct 2021 18:40:03 +0200
parents 126feb805247
children 0d6a099bba58
files mercurial/dirstate.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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