Pymacs : A better way to implement bzr and hg support in Xtla ?
John A Meinel
john at arbash-meinel.com
Fri Oct 7 03:48:46 BST 2005
Martin Pool wrote:
> On 07/10/05, Martin Pool <martinpool at gmail.com> wrote:
>
> [sent too soon]
>
>
>>Right; the print statements that escape from the test suite point out
>>the places that need to be fixed, or at least some of them. The
>>general idea is that the library should pass back objects, which are
>>only printed by the command layer....
>
>
> except when the command layer asks them to write to a file (e.g.
> show_log), or error messages going through the logging layer.
>
I think it would be good to make more object returns. So "show_log" is
just a wrapper around "format_log" which writes the result to a file.
The idea being that you shouldn't have to pass in a StringIO which you
then have to parse just to get what you care about.
I'm not saying show_log itself has to change, but something like
"show_delta" gets used a lot as a way to generate a changeset, which
means that their probably needs to be an easier way to get a nicely
formed changeset, that isn't printed yet.
John
=:->
> --
> Martin
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051006/9d0529f4/attachment.pgp
More information about the bazaar
mailing list