mercurial/patch.py
changeset 38773 59af0c7d103f
parent 38630 e1987261dd05
child 38783 e7aa113b14f7
--- a/mercurial/patch.py	Fri Jul 27 14:48:06 2018 -0700
+++ b/mercurial/patch.py	Fri Jul 27 14:48:34 2018 -0700
@@ -2326,7 +2326,7 @@
         relfiltered = True
 
     if not changes:
-        changes = repo.status(ctx1, ctx2, match=match)
+        changes = ctx1.status(ctx2, match=match)
     modified, added, removed = changes[:3]
 
     if not modified and not added and not removed: