If you are editing or adding to Sage's core library, you will probably want to share your changes with other users. Mercurial is the tool to do this. Mercurial is the source control system that is included with Sage. This chapter provides an overview of how to use Mercurial with Sage; see http://www.selenic.com/mercurial/ for full documentation on Mercurial.
All of the Mercurial repositories related to Sage are included with Sage. Thus the complete change history and setup for doing development is available in your copy of Sage.
Before using Mercurial,
make sure to define your username so the
patches you make are identified as yours. Make a
file ~/.hgrc in your home directory like this one:
[ui] username = Cardinal Fang <fang@spanish-inquisition.com>