[issue2944] EOL problem - file still marked modified even after delete and up -C

Anton bugs at mercurial.selenic.com
Sat Aug 6 09:10:12 CDT 2011


New submission from Anton <halgrep at gmail.com>:

Hello,

I'm having a bug with EOL extension. When i add .hgeol file my file will
always stay "modified".
I tried to remove it or call hg up -C - it doesn't helped.

So, scenario:

create empty directory
hg init
copy info.txt file ( in CRLF encoding )
hg addr
hg ci -m "aa"
create .hgeol file ( [patterns]\n**=native )
M info.txt
? .hgeol
delete info.txt
hg revert -a
hg st 
M info.txt ( still modified. why ?)
? .hgeol

i've also tried hg up -C, but with the same result


This problem can be reproduced on both Windows XP & 7
( u didn't checked it on Linux )
>hg --version
Mercurial Distributed SCM (version 1.9.1)

my hgrc contains, but this doesn't change anything
[eol]
only-consistent = False

P.S.
I also checked this different files, it also can be reproduced.

----------
files: mer-bug.zip
messages: 17076
nosy: halgrep
priority: bug
status: unread
title: EOL problem - file still marked modified even after delete and up -C
topic: 1.9, eol

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2944>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mer-bug.zip
Type: application/octet-stream
Size: 4041 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110806/18d59d12/attachment.obj>


More information about the Mercurial-devel mailing list