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:
- Manage working directory: checkout, revert, add/remove files
- Deliver changes: commit command
- Respect others: working directory and storage area locks
- Blame: annotate and diff commands
- Understand phases and bookmarks
- Read-only support for mq and rebase extensions
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.
- Getting started article is a nice place to start
- Track current work with changelog page
- Find out more about planned releases at Project plan page
- Join Hg4J mailing list if you get more questions.
- From the primary Mercurial Repository at http://hg.hg4j.com/hg4j
- From the seconday Mercurial Repository at Google Code
- Download binaries from project's downloads page at Google Code
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 firstname.lastname@example.org.