Documentation inconsistencies ? isodate and file_adds/file_dels
Jens Alfke
jens at mooseyard.com
Thu Aug 30 13:00:46 CDT 2007
On 30 Aug '07, at 2:32 AM, Jerome Lacoste wrote:
> 1- file_adds and file_dels don't seem to work in templates (log and
> incoming).
I ran into this too — the answer is that, for some reason, these only
get output if the "--debug" flag is present.
> 2- isodate documentation is inconsistent with regard to seconds
I used "hgdate" format, which contains all the needed info. If you're
using ICU, the date format specifier for it is "EEE MMM dd HH:mm:ss
yyyy ZZZ".
You might find this useful — it's a style I created that outputs XML.
That made it quite easy for my code to parse "hg log" output (using
the NSXML class on Mac OS X, which supports Xpath expressions.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset.tmpl
Type: application/octet-stream
Size: 306 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20070830/d9e6aa32/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml.style
Type: application/octet-stream
Size: 653 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20070830/d9e6aa32/attachment-0001.obj
-------------- next part --------------
--Jens
More information about the Mercurial
mailing list