[issue2632] hgeol can mark file modified on "hg up", "hg rev", etc.

Antoine Pitrou bugs at mercurial.selenic.com
Mon Feb 7 18:22:21 UTC 2011


New submission from Antoine Pitrou <pitrou at free.fr>:

Suppose you have the following in your .hgeol file:

**.bat = CRLF

Then suppose some bat files in your repo are actually stored using LF
endings, not CRLF (because all this predates the hgeol thing). Now, each
time you do "hg revert -a", or "hg up <some revision>", or even "hg pull
<some URL>", some files will be modified in the working copy *even though*
you just issued a command that is supposed to give you a clean, untouched
working copy in which you can do actual work instead of fixing eols.

I understand this might be seen as a "feature" but it is horribly disturbing
and annoying in practice; since it prevents you from doing any useful work,
unless you disable hgeol altogether.

----------
messages: 15152
nosy: pitrou
priority: bug
status: unread
title: hgeol can mark file modified on "hg up", "hg rev", etc.
topic: eol

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2632>
____________________________________________________


More information about the Mercurial-devel mailing list