# HG changeset patch # User Ralph Meijer # Date 1337291740 -7200 # Node ID 5dc3ab8142d567e34c04c865bfab0f93bddb7517 # Parent a739b8dc8e6f71632635c7e644de88cbb2cdd397 Add patch to fix rename handling by correcting the used attribute names. diff -r a739b8dc8e6f -r 5dc3ab8142d5 hgfastimport/hgimport.py --- a/hgfastimport/hgimport.py Sun Jul 26 18:07:59 2015 -0400 +++ b/hgfastimport/hgimport.py Thu May 17 23:55:40 2012 +0200 @@ -418,5 +418,5 @@ def rename_handler(self, filecmd): # copy oldname to newname and delete oldname - self.copies[filecmd.oldname] = filecmd.newname - self.files.append((filecmd.path, None)) + self.copies[filecmd.new_path] = filecmd.old_path + self.modified.append((filecmd.old_path, None))