|
GettingStartedWithMercurial
We are using Mercurial to manage our source code for this project. Many of us are new to it, so here is a overview of how to get a copy of the code and contribute your changes. Please add your expertise. Install MercurialUbuntu: Mac & Windows: all commands start with hg (chemical symbol for mercury) Get a copy of the codehg clone https://urbanedibles.googlecode.com/hg/ urbanedibles Edit settings for conveniencecd urbanedibles vi .hg/hgrc add this to the bottom of the hgrc file: [ui] username = Your Name <email@domain.com> your [paths] section should look like this if you don't want to enter your password all the time: [paths] default = https://urbanedibles.googlecode.com/hg/ default-push = https://USERNAME:PASSWORD@urbanedibles.googlecode.com/hg/ username is your google code username. If it's a gmail account, use the part before @gmail.com. Otherwise replace any @ symbols in your user name with %40 password is your google code password (not gmail password) which can be found here Basic workflowhg pull - grab remote changes edit code, add files, make directories, etc. hg add new_file_name.py - add a new file hg parents - get info on the currently checked out revision Merginghttp://wiki.alliedmods.net/Mercurial_Tutorial#Merging_and_You Making or Changing Brancheshg branch - shows current branch Helphttp://wiki.alliedmods.net/Mercurial_Tutorial IRC: #urbanedibles on freenode.net |
very helpful.
Thank you Michael Bunsen, got the code base no problemo