Sourceforge Setup
The mercurial repository is hosed on sourceforge. Once you've been added as a developer to the WNMap project, follow these steps so you'll be able to push changes.
These directions are an abbreviated version of http://www.selenic.com/mercurial/wiki/index.cgi/MercurialOnSourceforge
You'll probably want to set up public key-based authentication so you aren't typing passwords all the time (there are lots of resources about this on the internet).
All of this should be done from the sourceforge shell:
- ln -s /home/groups/w/wn/wnmap ~/wnmap
- mkdir ~/bin
- ln -s /home/groups/w/wn/wnmap/lib/hg-0.9.4/hg ~/bin/hg
- Add this to the bottom of ~/.bashrc (or appropriate file if you're using a different shell): export PATH=$PATH:$HOME/bin
- Add to ~/.hgrc on your sourceforge shell
[trusted] groups = wnmap
Now back at your computer, test that it worked:
$ ssh shell.sf.net hg version Mercurial Distributed SCM (version 0.9.4) Copyright (C) 2005-2007 Matt Mackall <mpm@selenic.com> and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Now you can push changes:
$ hg push ssh://shell.sf.net/wnmap/hg/wnmap
Or create new repositories:
$ hg clone . ssh://shell.sf.net/wnmap/hg/wnmap--newbranch
