comparison help/topics/04.txt @ 494:41a156d439d0

Start adding Help
author Chris Cannam
date Thu, 18 Aug 2011 16:37:27 +0100
parents
children
comparison
equal deleted inserted replaced
493:75ebcacd3f75 494:41a156d439d0
1 {Terminology}
2
3 What is a repository?
4
5 When you use a version control system to keep track of your changes to
6 a set of files, there are two different concepts you're dealing with:
7 a _working copy_ and a _repository_.
8
9 A _working copy_ is just a folder with your project's files in it. It
10 contains the versions of the files that you are working with now.
11
12 * EasyMercurial's "My Work" tab shows you which files you have been working on in your current working copy.
13
14 A _repository_ is a record of the entire history of your project. When
15 change something in the working copy, you can then commit it to the
16 repository and your change gets added to the history.
17
18 * EasyMercurial's "History" tab shows you the changes that have been committed to your project's history in its repository.
19
20 You can also go back and grab an older version from the repository if
21 you find you need it. (If you do this, then the working copy will be
22 updated so as to contain that older version rather than the most
23 recent one.)
24
25 Older centralised version control systems use a separate database for
26 the repository. But with a distributed version control system such as
27 Mercurial, the repository -- the entire history of your project files
28 -- is stowed into a special folder inside the working copy on your
29 hard drive. Every change you commit gets added to the history in that
30 hidden folder. (The history is compressed, so it doesn't take as much
31 space as you might imagine.)
32
33 The term _remote repository_ simply refers to a repository related to
34 your local one, but stored on another computer somewhere else. Often
35 this may be a "master copy" of your project stored on a server
36 elsewhere, which you and your collaborators can use to keep up with
37 each other's work, or which you can use to make your work public, or
38 simply use as a private backup.
39