> On 10/11/2016 5:39 AM, Uwe Brauer wrote:
> You could also consider writing a server-side hook that normalizes all
> line endings before files are committed. That way, it doesn't matter
> what line endings the users prefer, they will all be enforced to the
> same ending just prior to being committed.
Oh, I thought that is be done by the line
native = LF
If all the users had this line in their conf file (not sure how this
will screw up the editors for the Windows users..) Then I thought the
lineendings would be automatically LF.
I don't have access to that server in the sense that I could add such a
hook or are you suggesting to put in on the clients global .hgrc?
If so, do you have a working example you could share with me?
Mercurial mailing list