doc/book/en/annexes/mercurial.rst
branchstable
changeset 2172 cf8f9180e63e
parent 1714 a721966779be
child 9917 a98e60464c26
equal deleted inserted replaced
2125:19861294506f 2172:cf8f9180e63e
    10 Mercurial_ manages a distributed repository containing revisions
    10 Mercurial_ manages a distributed repository containing revisions
    11 trees (each revision indicates the changes required to obtain the
    11 trees (each revision indicates the changes required to obtain the
    12 next, and so on). Locally, we have a repository containing revisions
    12 next, and so on). Locally, we have a repository containing revisions
    13 tree, and a working directory. It is possible
    13 tree, and a working directory. It is possible
    14 to put in its working directory, one of the versions of its local repository,
    14 to put in its working directory, one of the versions of its local repository,
    15 modify and then push it in its repository. 
    15 modify and then push it in its repository.
    16 It is also possible to get revisions from another repository or to export
    16 It is also possible to get revisions from another repository or to export
    17 its own revisions from the local repository to another repository.
    17 its own revisions from the local repository to another repository.
    18 
    18 
    19 .. _Mercurial: http://www.selenic.com/mercurial/
    19 .. _Mercurial: http://www.selenic.com/mercurial/
    20 
    20 
    81 
    81 
    82 * See what are the revisions of a repository not found locally::
    82 * See what are the revisions of a repository not found locally::
    83 
    83 
    84      hg incoming ssh://myhost//home/src/repo
    84      hg incoming ssh://myhost//home/src/repo
    85 
    85 
    86 * See what is the revision of the local repository which has been taken out 
    86 * See what is the revision of the local repository which has been taken out
    87   from the working directory and amended::
    87   from the working directory and amended::
    88 
    88 
    89      hg parent
    89      hg parent
    90 
    90 
    91 * See the differences between the working directory and the mother revision
    91 * See the differences between the working directory and the mother revision
   112    4. `hg push`
   112    4. `hg push`
   113 
   113 
   114 Installation of the forest extension
   114 Installation of the forest extension
   115 ````````````````````````````````````
   115 ````````````````````````````````````
   116 
   116 
   117 Set up the forest extension by getting a copy of the sources 
   117 Set up the forest extension by getting a copy of the sources
   118 from http://hg.akoha.org/hgforest/ and adding the following 
   118 from http://hg.akoha.org/hgforest/ and adding the following
   119 lines to your ``~/.hgrc``: ::
   119 lines to your ``~/.hgrc``: ::
   120 
   120 
   121    [extensions]
   121    [extensions]
   122    hgext.forest=
   122    hgext.forest=
   123    # or, if forest.py is not in the hgext dir:
   123    # or, if forest.py is not in the hgext dir: