wiki:SourceRepository
Last modified 7 years ago Last modified on 2010-07-04 18:52:54

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://hg.sschwarzer.net/websourcebrowser my-wsb-repo

where my-wsb-repo is the name of the directory which is to contain the local repository. This directory must not exist.

This will make the directory my-wsb-repo 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

Then change into the my-wsb-repo directory you implicitly generated above and start Websourcebrowser under Unix with

python browser.py [your options here]

If you later want to update your repository copy, change to the my-wsb-repo 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.