[issue2371] Converting a SVN repo containing "replace actions" leaves files behind

Jyrki Aarnos bugs at mercurial.selenic.com
Fri Sep 10 09:41:12 UTC 2010


New submission from Jyrki Aarnos <jyrki.aarnos at nokia.com>:

Hg convert produces incorrect results if the SVN repository to be converted
has a revision with a "replace action" on a directory that has one or more
files that are not be present in the replaced content. In these cases, these
"abandoned" files are left to the converted Hg repo.

Attaching a small script that reproduces the issue on a Linux machine. The
same problem can be reproduced also in Windows machines.

Tried the issue with Hg 1.6.3 (on Linux) and Hg 1.6.1023 (on Windows XP).
The used SVN releases were 1.4.6 (on Linux) and 1.6.12 (on Windows XP). The
SVN repositories are produced correctly in both the cases, it is the
conversion that fails.

----------
files: test.sh
messages: 13598
nosy: aarnos
priority: bug
status: unread
title: Converting a SVN repo containing "replace actions" leaves files behind

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2371>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sh
Type: application/octet-stream
Size: 882 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100910/296708b7/attachment.obj>


More information about the Mercurial-devel mailing list