[issue511] hg tag create a wrong .hgtags file (no LF at end of line)
mathieu clabaut
mercurial-bugs at selenic.com
Fri Mar 9 08:06:43 CST 2007
New submission from mathieu clabaut <mathieu.clabaut at gmail.com>:
Mercurial appears to put tag information at the end of a previous tag definition
in .hgtags.
Here are the last line of .hgtags on rev 1374:
afefed45eaa99aef107c75e524dd5b03989bdbce mca
bf7b102cfed1ee59333f9714ce8fb40c564303dd LC_v001
(Note that there is no LF at end of last line)
Here are the last line of .hgtags on rev 1375, after doing a "hg tag
liv_zc_09_03_2007" command
:afefed45eaa99aef107c75e524dd5b03989bdbce mca
bf7b102cfed1ee59333f9714ce8fb40c564303dd
LC_v001c9c92d8dde1ca385c37c22a6cb3380536c4820c0 liv_zc_09_03_2007
Now, there is a LF (0xa) at end of last line.
Obviously the line corresponding to the tag "LC_v001" was produce without a LF.
----------
messages: 2839
nosy: mathieu.clabaut
priority: bug
status: unread
title: hg tag create a wrong .hgtags file (no LF at end of line)
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue511>
____________________________________________________
More information about the Mercurial-devel
mailing list