mercurial/revset.py
changeset 41676 0531dff73d0b
parent 41563 13f7a6a4f0db
child 41680 8185c8abce87
--- a/mercurial/revset.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/mercurial/revset.py	Sat Feb 09 22:50:53 2019 -0800
@@ -2073,7 +2073,7 @@
     if len(args) != 0:
         pat = getstring(args[0], _("subrepo requires a pattern"))
 
-    m = matchmod.exact(repo.root, repo.root, ['.hgsubstate'])
+    m = matchmod.exact(['.hgsubstate'])
 
     def submatches(names):
         k, p, m = stringutil.stringmatcher(pat)