Proposal for simple metadata implementation
Christian Boos
cboos at neuf.fr
Thu Mar 5 08:23:38 UTC 2009
Benjamin Pollack wrote:
> ...
> Although I would love to have a standard way to keep track of metadata
> in a Mercurial repository, I'm not convinced that this solution scales.
> I think perhaps attacking this on a more specific case-by-case basis for
> metadata problems we already have--such as text file encodings--might be
> wiser.
>
Exactly, so for mime-type and encodings, please take a look at the
proposal I made last month:
http://selenic.com/pipermail/mercurial/2009-February/024004.html
In short: for Trac, I'd like to define a format inspired from .hgignore
that would map file patterns to mime-types and /or encodings. This
metadata might be useful for other tools (even hgweb?), so it would be
better to get a kind of "standard" format reusable by all interested
parties.
-- Christian
More information about the Mercurial-devel
mailing list