[MERGE] Output refactoring and XML integration into bzrlib

Aaron Bentley aaron.bentley at utoronto.ca
Tue Nov 20 02:29:22 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Albisetti wrote:
> On Nov 10, 2007 3:38 AM, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>> I would advise against using the TreeDelta output for any new work.  The
>> ChangeReporter interface has much higher fidelity.
> 
> I've been looking into using ChangeReporter (we used TreeDelta as it's
> what is currently implemented), but I get the impression it's only
> implemented for --short.
> Am I understanding it wrong?

I think there's a better way to look at this--  You should try to
provide a single, excellent, XML output for machine consumption.  It
doesn't have to slavishly imitate the human-oriented output, just
provide a superset of the information the human UI provides.  For
example, it could always include file-ids.

> Would you need us to implement long logs on the ChangeReporter class?

Long logs?  It's an inventory thing.  Anything to do with logs would be
most unwelcome.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQkaB0F+nu1YWqI0RAjkQAJ9DIhBzce+2dMwLs/30PXXWmFPwlACeJvtr
6GZPcVjTMThUWax2OJbRYIM=
=BeIv
-----END PGP SIGNATURE-----



More information about the bazaar mailing list