Solliciting Feedback: Tracking and Storing File Encoding

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Sep 18 16:29:27 CDT 2015



On 09/18/2015 02:11 PM, Erik van Zijst wrote:
> Following earlier only discussions and yesterday's minisprint, I went
> ahead and typed out a spec for how we could track character encoding
> meta data alongside repository contents.
>
> I've put this on the wiki and I'd like to ensure I haven't missed or
> overlooked anything before I set out to implement this:
>
> https://mercurial.selenic.com/wiki/Tracking%20File%20Encoding
>
> My intention is to work on implementing this during next month's sprint.

This looks pretty good. I've a couple of feedback/question:

- I assume we do explicit include of subfile for performance reason. We 
should probably point that out.

- I'm curious about how the "<glob> = <value>" handles '=' in filename 
(but I can't find data in merge-pattern's help, so that's a bad sign)

- Do we plan to have some verification methods that check file encoding 
match declaration to help people building hooks.

Thanks for writing all this down. Looking forward to see it taking shape.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list