mercurial/patch.py
changeset 24783 a7f8e3584ef3
parent 24433 f5f4dc115fb2
child 24837 edf907bd8144
--- a/mercurial/patch.py	Thu Apr 16 11:29:30 2015 -0700
+++ b/mercurial/patch.py	Thu Apr 16 11:31:48 2015 -0700
@@ -2127,7 +2127,7 @@
 
     copy = {}
     if opts.git or opts.upgrade:
-        copy = copies.pathcopies(ctx1, ctx2)
+        copy = copies.pathcopies(ctx1, ctx2, match=match)
 
     if relroot is not None:
         if not relfiltered: