Mercurial > hg
diff hgext/convert/darcs.py @ 9526:457a30ed8ffb
convert/darcs: fix file renaming (issue1853)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 04 Oct 2009 22:23:11 +0200 |
parents | 6fd3f795e908 |
children | b3c13e721593 |
line wrap: on
line diff
--- a/hgext/convert/darcs.py Thu Aug 06 21:35:25 2009 -0700 +++ b/hgext/convert/darcs.py Sun Oct 04 22:23:11 2009 +0200 @@ -116,7 +116,8 @@ continue if elt.tag == 'move': changes.append((elt.get('from'), rev)) - copies[elt.get('from')] = elt.get('to') + changes.append((elt.get('to'), rev)) + copies[elt.get('to')] = elt.get('from') else: changes.append((elt.text.strip(), rev)) self.lastrev = rev