Mercurial > hg
changeset 16503:c27a769d9703 stable
doc: add description about location of management files for subrepo
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 23 Apr 2012 00:33:09 +0900 |
parents | 8298d220cbf9 |
children | e3c7ca15cde2 |
files | mercurial/help/subrepos.txt |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help/subrepos.txt Mon Apr 23 00:33:09 2012 +0900 +++ b/mercurial/help/subrepos.txt Mon Apr 23 00:33:09 2012 +0900 @@ -10,7 +10,8 @@ 1. Nested repository checkouts. They can appear anywhere in the parent working directory. -2. Nested repository references. They are defined in ``.hgsub`` and +2. Nested repository references. They are defined in ``.hgsub``, which + should be placed in the root of working directory, and tell where the subrepository checkouts come from. Mercurial subrepositories are referenced like: @@ -30,7 +31,8 @@ repositories, you have to create and add it to the parent repository before using subrepositories. -3. Nested repository states. They are defined in ``.hgsubstate`` and +3. Nested repository states. They are defined in ``.hgsubstate``, which + is placed in the root of working directory, and capture whatever information is required to restore the subrepositories to the state they were committed in a parent repository changeset. Mercurial automatically record the nested