[issue2243] convert/filemap: rename of moved files results in lost file

Edward Lee bugs at mercurial.selenic.com
Mon Jun 21 06:19:20 UTC 2010


New submission from Edward Lee <edilee at mozilla.com>:

If you convert a repository that moves files, the file might end up missing
if the "before" and "after" names are filemapped to the same name.

This happens because the array of remapped names to original name has two
entries for the remapped name, and when it's converted to a dictionary, the
latter entry wins.

If the latter entry happens to be the "before" name, the changeset will
record it as a delete as the "before" file would not exist anymore.

----------
assignedto: Mardak
messages: 12854
nosy: Mardak, pmezard
priority: bug
status: in-progress
title: convert/filemap: rename of moved files results in lost file
topic: convert

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2243>
____________________________________________________


More information about the Mercurial-devel mailing list