Mercurial > hg > easyhg
view help/a-11.html @ 537:a4e699d32a9a
gah! hg 2.1 changes push and pull so as to return failure codes on success, if there was nothing to push or pull
author | Chris Cannam |
---|---|
date | Fri, 10 Feb 2012 13:08:07 +0000 |
parents | b3309be1640f |
children |
line wrap: on
line source
<link rel="stylesheet" type="text/css" href="help.css"/> <h2>I have a folder of source code or documents on my computer and I want to use version control to manage them</h2> <p>To start using version control for a project folder, you need to initialise a repository there. EasyMercurial does this for you when you open the folder.</p> <p><b>1. Click the Open toolbar button or use File -> Open</b></p> <p><center><img src="images/openfolder50.png"></center></p> <p><b>2. Select “File folder” as the thing you want to open</b></p> <p><b>3. Browse to your folder</b></p> <p><b>4. Click OK</b></p> <p>A new repository will be created, stowed into the working folder you selected. At first, it will have an empty history. You can then start to add and commit changes to your files.</p> <p>(You will need to “add” files before you can start to track changes to them. The default is for all files in the folder to be treated as “untracked”, i.e. not included in the history.) <ul><li>Note: the equivalent Mercurial command for this is <b>hg init</b></li></ul>