diff mercurial/copies.py @ 6275:fda369b5779c

diff: use copy smarts from copies.py
author Matt Mackall <mpm@selenic.com>
date Sat, 15 Mar 2008 10:02:31 -0500
parents f3f383efbeae
children cfebb175704f
line wrap: on
line diff
--- a/mercurial/copies.py	Sat Mar 15 10:02:31 2008 -0500
+++ b/mercurial/copies.py	Sat Mar 15 10:02:31 2008 -0500
@@ -57,7 +57,7 @@
     Find moves and copies between context c1 and c2
     """
     # avoid silly behavior for update from empty dir
-    if not c1 or not c2 or not ca:
+    if not c1 or not c2:
         return {}, {}
 
     rev1, rev2 = c1.rev(), c2.rev()