mercurial/copies.py
changeset 24184 cd66080ef6d4
parent 24011 d7d08337b3f6
child 24185 3a3806fe3ddf
--- a/mercurial/copies.py	Fri Feb 27 23:30:42 2015 -0500
+++ b/mercurial/copies.py	Fri Feb 27 13:57:37 2015 -0800
@@ -149,9 +149,7 @@
     This is its own function so extensions can easily wrap this call to see what
     files _forwardcopies is about to process.
     """
-    missing = set(b.manifest().iterkeys())
-    missing.difference_update(a.manifest().iterkeys())
-    return missing
+    return b.manifest().filesnotin(a.manifest())
 
 def _forwardcopies(a, b):
     '''find {dst@b: src@a} copy mapping where a is an ancestor of b'''