? Two issues creating a style for 'hg log'

Danek Duvall danek.duvall at sun.com
Fri Jul 27 11:45:57 CDT 2007


On Wed, Jul 25, 2007 at 10:39:50AM -0700, Jens Alfke wrote:

> (1) The header gets generated, but not the footer. This prevents the  
> output from being correct XML.
> (2) The "file_add" and "file_del" macros never get invoked, so all  
> changed paths are output the same way. This prevents my app from being  
> able to tell whether a given file was modified, added or removed by a  
> changeset.

Dunno about the first, but the second problem is because file_add and
file_del are only ever computed when the debug flag is thrown -- for
whatever reason, those values are expensive to compute.  I can't find a bug
or feature request logged against this, though I know it's come up on the
list in the past.

Danek


More information about the Mercurial mailing list