# HG changeset patch # User FUJIWARA Katsunori # Date 2012-04-22 15:33:09 # Node ID c27a769d9703b32a6380a291ea8a933877a10f31 # Parent 8298d220cbf914bb4bab6c5ee2a483ca3d015499 doc: add description about location of management files for subrepo diff --git a/mercurial/help/subrepos.txt b/mercurial/help/subrepos.txt --- a/mercurial/help/subrepos.txt +++ b/mercurial/help/subrepos.txt @@ -10,7 +10,8 @@ Subrepositories are made of three compon 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 @@ 2. Nested repository references. They ar 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