New gui extension

Jens Alfke jens at mooseyard.com
Thu Jul 26 10:16:59 CDT 2007


On 25 Jul '07, at 10:28 PM, Brad Schick wrote:

> I'm basically finished with "gtools", a gui extension for mercurial.
> The extension provides gtk+ based graphical status and commit dialogs.
> Files are displayed in a list that can be sorted, filtered, and
> double-clicked to launch diff and editor tools.

Congrats!

I recently started writing a similar app for Mac OS X. It's going  
pretty well so far ... in four days of spare-time work I've gotten a  
tree view of the repository with current file status; revision history  
of the repository or each file; and viewing and diffing revisions. (I  
can't release anything yet, though; it requires 10.5 (Leopard) which  
isn't out till October.)

Regardless of GUI, any tools like this will have a lot in common in  
how they access Mercurial. How does gtools work? Does it exec an 'hg'  
process to do the work and parse its output, or does it directly run  
the Python code in-process? If the former, are there any subtleties to  
parsing the output of 'hg', since not all the commands can be themed?

--Jens


More information about the Mercurial mailing list