mercurial/narrowspec.py
changeset 39561 10a8472f6662
parent 39556 8d8e61df8259
child 39572 c8ea5c7ec99d
--- a/mercurial/narrowspec.py	Fri Sep 07 18:35:54 2018 -0700
+++ b/mercurial/narrowspec.py	Tue Sep 11 15:53:12 2018 -0700
@@ -146,9 +146,6 @@
     return matchmod.match(root, '', [], include=include or [],
                           exclude=exclude or [])
 
-def needsexpansion(includes):
-    return [i for i in includes if i.startswith('include:')]
-
 def load(repo):
     try:
         spec = repo.svfs.read(FILENAME)