--- a/hgext/convert/__init__.py
+++ b/hgext/convert/__init__.py
@@ -192,7 +192,7 @@ class convert(object):
def copy(self, rev):
c = self.commitcache[rev]
files = self.source.getchanges(rev)
-
+
do_copies = (hasattr(c, 'copies') and hasattr(self.dest, 'copyfile'))
for f, v in files: