[issue2185] convert: data loss of closed branches with filemap
laurensb
bugs at mercurial.selenic.com
Tue May 11 17:37:29 UTC 2010
New submission from laurensb <laurens at blankersfamily.com>:
When using the convert extension to convert Hg to Hg and using filemap to
rename all files results in closed branches being lost during conversion.
Steps to reproduce:
$ echo "rename . test" > filemap
$ hg init close
$ cd close
$ touch a
$ hg add a
$ hg commit -m "Initial"
$ hg branch close
$ echo 1 >> a
$ hg commit -m "Branched"
$ hg commit --close-branch -m "Closing branch"
$ hg up default
$ echo 2 >> a
$ hg commit -m "2"
$ cd ..
$ hg convert --filemap filemap close
The initial repository has 4 commits, the converted repos only 3.
I believe this is an urgent bug because it causes a silent data loss.
----------
messages: 12487
nosy: laurensb
priority: urgent
status: unread
title: convert: data loss of closed branches with filemap
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2185>
____________________________________________________
More information about the Mercurial-devel
mailing list