Repo Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Source Repo

Read-only access to the mktemp source repository is available for checkout using mercurial.

Cloning the source repo via mercurial

The main source repo is located at

To download a copy of the repo you must first install mercurial. You can then make a clone of the repo by running:

hg clone

This will create a copy of the repo on your local machine in the mktemp directory. This step only needs to be done once.

If you want to checkout a specific version of mktemp, you can use the symbolic tag for that release. For example, to check out mktemp version 1.7 you would do:

hg update MKTEMP_1_7

Once you have the source tree checked out, you can update it thusly:

cd mktemp
hg pull
hg update

The hg pull will pull in changes from the master repo, the hg update will update the working copy from your local repo. This can be done in a single step with hg pull -u which will pull in changes and update the working copy.

You can also do standard operations like log, diff, and annotate. While you can check in changes to your local copy of the repo, you will be unable to push the changes directly upstream. Changes may be submitted in the form of patches or change bundles.

If you are new to mercurial, the mercurial guide is a good place to start.

Browse Online

You can also browse the source tree with on the web by clicking on the browse link at This provides a nice interface and can be handy when you don’t necessarily want to check out a full copy of the source tree.