What is Hg4J

Hg4J is an independent pure Java implementation of a popular Mercurial distributed version control system.

From a developer's perspective, Hg4J is a software library that provides an API enabling Java applications to read and modify local and remote Mercurial repositories.

Hg4J Major Features

Inititally we focused on read-only functionality, and Hg4J version 1.0 might be sufficient if your application doesn't need to alter repository in any way. History ('hg log'), status ('hg status') and get content ('hg cat') are most common operations for regular use. Besides, 1.0 knows how to detect incoming and outgoing changes, and provides access to various Mercurial control files - pretty much that's it what you can do without touching a repository

Latest release, Hg4J version 1.1, is not that shy about repository changes any longer. We've decided to touch local repositories and working directories first:

If you're curious what's next, Hg4J version 1.2 is on the way, sheduled for release later this year, with focus on operations with remote servers. Looking forward to SSH repositories, push and pull commands and a lot of other improvements

Hg4J runs with Java™ 5 with no external dependency whatsoever

Learn more about Hg4J

Hg4J related resources are hosted at the Google Code Hg4J project.

Get Hg4J

Hg4J is Open Source

Hg4J is Open Source and can be freely used in Open Source applications under the terms GNU General Public License (GPL). We also provide commercial licensing option for closed source applications or so called Dual Licensing. For more information on licensing please contact us at support@hg4j.com.

See Also