Alternatives to EOL extension

Martin Geisler martin at geisler.net
Sat Jan 17 15:12:40 UTC 2015


Carsten Fuchs <carsten.fuchs at cafu.de> writes:

> Hi Martin,
>
> Am 16.01.2015 um 13:48 schrieb Martin Geisler:
>> It's mentioned super briefly on the wiki, but see 'hg help eol' for
>> information about the hooks exposed by the extension. You should not
>> need to write a checker script, only enable the eol.checkheadshook on
>> your server.
>
>
> Ok, many thanks to you and everyone for your advice, it is very much
> appreciated!

If you get the hook working, then please consider expanding the section
on the wiki. I think others would find it very helpful if you showed the
relevant configuration they need to add.

(I'm suggesting you edit the wiki instead of me since you'll be the one
who actually tests this -- and as a user you'll know what confused you
when setting it up.)

You could maybe even add a note about this somewhere at the top of the
page, to make it more clear that one can use this "feature of last
resort" on the server-side without enabling the worry-some rewriting of
content on client-side checkout. It is the latter part that I would
consider bad -- adding a hook on the server is quite common and does not
go against the design of Mercurial.

-- 
Martin Geisler

http://google.com/+MartinGeisler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150117/628b8b22/attachment.asc>


More information about the Mercurial mailing list