using template to distinguish between files and files with spaces
dirkjan at ochtman.nl
Tue Mar 18 11:45:18 CDT 2008
On Tue, Mar 18, 2008 at 3:40 PM, Jens Alfke <jens at mooseyard.com> wrote:
> It's not for the CGI, it's for use with the "--style" command-line
> flag, by external tools that invoke hg and parse its output.
You can use either from both interfaces.
> Also, I haven't looked at the Atom feed in detail, but the RSS feed
> includes only a small fraction of the available metadata — just the
> checkin comment and timestamp. My XML style includes revision IDs,
> parents, branches, tags, and lists of files changed. (Of course, it'd
> be great to add these to the Atom and RSS styles, too.)
I was thinking you could easily get the revision ID's from the entry
ID, but if you want parents/branches/tags/files changed, you'd be out
of luck. Having your style might be a good addition in that case (I
didn't think of all the extra metadata at first); adding them to the
Atom feed could be done, but you'd either have to add them to the item
contents, in which case you have to go parsing the contents, kind of
defeating the whole purpose, or you'd have to do a namespaced
extension. Unless there's already an extension out there for this type
of metadata, that seems overkill.
More information about the Mercurial