mercurial/copies.py
changeset 31256 5a909a8098a1
parent 30581 43a9e02a7b7f
child 32291 bd872f64a8ba
--- a/mercurial/copies.py	Tue Mar 07 09:56:11 2017 -0800
+++ b/mercurial/copies.py	Tue Mar 07 09:56:11 2017 -0800
@@ -149,10 +149,7 @@
     """
     ma = a.manifest()
     mb = b.manifest()
-    if match:
-        ma = ma.matches(match)
-        mb = mb.matches(match)
-    return mb.filesnotin(ma)
+    return mb.filesnotin(ma, match=match)
 
 def _forwardcopies(a, b, match=None):
     '''find {dst@b: src@a} copy mapping where a is an ancestor of b'''