Accessing the Websourcebrowser code repository

You can browse the complete version history with the browser interface of this site.

If you would like to be able to follow the development of Websourcebrowser (that is, get the in-development code from the source code repository) you need to install Mercurial.

After that, get the code with

hg clone http://websourcebrowser.sschwarzer.net:9000 websourcebrowser

where the directory websourcebrowser must not exist in the current directory.

This will make the directory websourcebrowser and print something like

requesting all changes
adding changesets
adding manifests
adding file changes
added 288 changesets with 380 changes to 49 files
38 files updated, 0 files merged, 0 files removed, 0 files unresolved

To experiment with the code while having an official version installed, set the environment variable WSB_DEVEL to 1. In the bash shell this is done with

export WSB_DEVEL=1

while on Windows it's

set WSB_DEVEL=1

Then change into the websourcebrowser directory you implicitly generated above and start Websourcebrowser under Unix with

scripts/wsbrowser [your options here]

or under Windows with

scripts/wsbrowser.py [your options here]

If you later want to update your repository copy, change to the websourcebrowser directory and type

hg pull --update

This will get all the changes since your initial checkout (or your last update). For more on working with Mercurial, see the tutorial or the book.