mercurial/sparse.py
changeset 33302 36a415b5a4b2
parent 33301 ca4b78eb11e7
child 33303 8b571495d811
--- a/mercurial/sparse.py	Thu Jul 06 12:26:04 2017 -0700
+++ b/mercurial/sparse.py	Thu Jul 06 12:20:53 2017 -0700
@@ -126,3 +126,6 @@
         profiles.update(patternsforrev(repo, rev)[2])
 
     return profiles
+
+def invalidatesignaturecache(repo):
+    repo._sparsesignaturecache.clear()