[issue2417] hg import with # comments in description
John Hein
bugs at mercurial.selenic.com
Mon Oct 4 17:32:50 UTC 2010
New submission from John Hein <r8yo1b03 at sneakemail.com>:
If you have lines in a description for a changeset that have # at the start
of the line, export of that changeset and subsequent import will lose those
description lines during the import.
Workaround: put a space in front of # description lines in the export output
before running import.
example:
hg init a
cd a
echo 0 > a
hg ci -A -m 0 a
echo 1 > a
cat << eof > log
1
# comment for 1
eof
hg ci -l log a
hg log -v # observe log entry for rev 1
hg export -o p 1
cd ..
hg clone -r 0 a b
cd b
hg import ../a/p
hg log -v # observe rev 1 log missing the # line
----------
messages: 13831
nosy: jhein
priority: bug
status: unread
title: hg import with # comments in description
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2417>
____________________________________________________
More information about the Mercurial-devel
mailing list