Patchwork D4097: narrow: remove a repo file-cache invalidation

login
register
mail settings
Submitter phabricator
Date Aug. 5, 2018, 1:04 p.m.
Message ID <bd8a9102f8bfab717554400eccbfe9c9@localhost.localdomain>
Download mbox | patch
Permalink /patch/33268/
State Not Applicable
Headers show

Comments

phabricator - Aug. 5, 2018, 1:04 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGae2962bb56a3: narrow: remove a repo file-cache invalidation (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4097?vs=9872&id=9932

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

AFFECTED FILES
  mercurial/narrowspec.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/narrowspec.py b/mercurial/narrowspec.py
--- a/mercurial/narrowspec.py
+++ b/mercurial/narrowspec.py
@@ -113,9 +113,6 @@ 
         # Treat "narrowspec does not exist" the same as "narrowspec file exists
         # and is empty".
         if e.errno == errno.ENOENT:
-            # Without this the next call to load will use the cached
-            # non-existence of the file, which can cause some odd issues.
-            repo.invalidate(clearfilecache=True)
             return set(), set()
         raise
     # maybe we should care about the profiles returned too