Patchwork D11713: dirstate: add missing return on platforms without exec or symlink

login
register
mail settings
Submitter phabricator
Date Oct. 20, 2021, 5:07 p.m.
Message ID <differential-rev-PHID-DREV-h4h5sjeswjzlppr7l7wa-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50037/
State Superseded
Headers show

Comments

phabricator - Oct. 20, 2021, 5:07 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -300,6 +300,8 @@ 
                         return b''
                 return fallback(x)
 
+            return f
+
     @propertycache
     def _cwd(self):
         # internal config: ui.forcecwd