Lance J. Andersen wrote:
Jesse,
One other question. Does this replace the webrev script or does jHg
still invoke the webrev script?
This is a replacement. webrev, being a shell script, is very hard to
maintain, extend and make work across various platforms.
So the main motivation behind jHg was to rewrite it in Java. I figured I
might as well add a few bells an whistles to make it more useful.
Actually, I've split the project in two:
- jMercurial is a library of classes to manipulate a mercurial
workspace. It relies on the 'hg' command to manipulate the workspace,
but it is a fairly complete abstraction of all the components of a
workspace (Changeset, Tag, Change, etc...).
- jHg uses jMercurial.
So far it has been tested on Solaris, Linux, Windows and Mac OS X.
-lance
Jean-Christophe Collet wrote:
Sure.
I'm putting the final touches to a tool I call jHg
It's a simple mercurial front end and a webrev generator. All written
in Java.
It has a GUI as well a command line interface.
With it you can easily:
- browse through the history of any mercurial workspace and of any
file in the workspace
- search the history
- view the details of any changeset or group of changesets
- view the details of the current status
- Commit, Push, Pull, Update or Revert changes.
- Generate a webrev of any set of changes. Upload it to
cr.openjdk.java.net and/or preview the webrev in the browser.
I've attached a couple of simple screenshots.
Right now the tool is being tested internally and I'm fixing the last
kinks. Hopefully I'll make it available to the community very soon.
begin:vcard
fn:Jean-Christophe Collet
n:Collet;Jean-Christophe
org:Sun Microsystems
adr:;;2 rue de Jargonnant;Geneva;;1207;Switzerland
email;internet:jean-christophe.col...@sun.com
title:Staff Engineer
x-mozilla-html:FALSE
version:2.1
end:vcard