Explorer & QBzr Log

Eric Berry elberry at gmail.com
Thu Apr 22 17:13:59 BST 2010


On Thu, Apr 22, 2010 at 7:32 AM, John Arbash Meinel
<john at arbash-meinel.com>wrote:

>
> > If you just want re-implement qlog in swing, I would recommend reusing
> > that. In the future, I hope to move that file into bzrlib, but I first
> > need to write comprehensive tests for it. In the mean time, you can
> > just copy it.
>

Gary, Thank you very much for the example and steps. These will be very
helpful when I'm recreating the log viewer in Swing.


> Well, he's working in Java, which means you have to overcome the
> Java/Python barrier. I don't think bzrlib works on Jython yet, so
> potentially parsing the output of bzr log is still his best bet.
>

Indeed, if it worked in Jython that would be great as it's pretty easy to
get the Jython interpreter included in any Java application - I've done this
before on another project. However, I'm afraid going down that route would
open a whole other can of worms, and would require getting a lot more stuff
working in Jython. I agree, for now my easiest bet is to parse the log
output.


>
> Though if I was going that route, I would look at bzr-xmloutput which is
> meant to generate xml format output for various commands, to make it
> easier to do cross-language data transfer.
>

:) Yes, xmloutput is a requirement in my implementation.

If anyone is interested, I have what little there is it in launchpad.:
lp:~elberry/+junk/gvcs-cli

My goal for now is to mimic the same actions that qbzr has created gui's for
except for diffing, which I will delegate to something else.

Thanks,
Eric
-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://www.townsfolkdesigns.com/blogs/elberry
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20100422/2fcd6b6e/attachment.htm 


More information about the bazaar mailing list