CC Mode Accessing the Mercurial Repository

Manual (html)
Manual (info/PS/DVI)
Recent changes
Mailing lists
Mercurial Repository
Browse hg Repository
Contributions and links
SourceForge project page

Anonymous CVS
Browse old CVS Repository

Downloading the repository

To download a snapshot of the CC Mode master repository, just use the standard mercurial "clone" command, like this:

, or alternatively, if you have a SourceForge ID:
hg clone ssh:// TARGET-DIRECTORY
. After cloning the repository, you will be able to pull future revisions from it in the normal way. (Note that the former location of the repository is now a read-only fossilised snapshop from June 2013. Don't use it!)

Being under development, there is no guarantee that this version will work properly, or even at all. That said, it usually works well: at least I (Alan) use it in my daily work, not only when I hack on it. It might not be entirely compatible with user settings, but it can get more advanced fixes that are considered too risky to be allowed into the patch branch.

Alternatively, you can switch to using the patch branch, the one with just bug fixes in it. Use this command:

hg update Branch_5_32

To browse the project's history and current state online, use this.

You are especially welcome to report bugs, opinions and patches regarding the development version. However if you've found a bug, it's a good idea to try an update before you report it, since chances are that we have found it ourselves already.

The source tree

The CC Mode source will be in the root of the checked out tree. It's the same thing you'll find in a dist tarball (with a couple of extra files around it), so it can be byte compiled and used straight away. You'll find the regression test suite in the tests directory; take a look in 000tests.el to figure out how to use it. The admin directory probably isn't very interesting; it just contains the source for this web site.

The Mercurial version control system

The canonical reference work for Mercurial is Mercurial: the Definitive Guide by Bryan O'Sullivan. The SourceForge documentation might be helpful when setting up your Mercurial host. If you are new to Mercurial, you might want to read Joel Spolsky's excellent tutorial.