mercurial/context.py
changeset 42102 976f069e0ad6
parent 42101 f4b1f5537d4c
child 42142 5382d8f8530b
--- a/mercurial/context.py	Wed Apr 10 17:31:32 2019 -0700
+++ b/mercurial/context.py	Wed Apr 10 17:36:37 2019 -0700
@@ -1954,7 +1954,7 @@
 
         # Test the other direction -- that this path from p2 isn't a directory
         # in p1 (test that p1 doesn't have any paths matching `path/*`).
-        match = self.match([path + '/'], default=b'path')
+        match = self.match([path], default=b'path')
         matches = self.p1().manifest().matches(match)
         mfiles = matches.keys()
         if len(mfiles) > 0: