diff options
-rw-r--r-- | subcmds/init.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 3a5c766e..90b76e8b 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -35,9 +35,20 @@ The latest repo source code and manifest collection is downloaded | |||
35 | from the server and is installed in the .repo/ directory in the | 35 | from the server and is installed in the .repo/ directory in the |
36 | current working directory. | 36 | current working directory. |
37 | 37 | ||
38 | The optional <manifest> argument can be used to specify an alternate | 38 | The optional -b argument can be used to select the manifest branch |
39 | manifest to be used. If no manifest is specified, the manifest | 39 | to checkout and use. If no branch is specified, master is assumed. |
40 | default.xml will be used. | 40 | |
41 | The optional -m argument can be used to specify an alternate manifest | ||
42 | to be used. If no manifest is specified, the manifest default.xml | ||
43 | will be used. | ||
44 | |||
45 | Switching Manifest Branches | ||
46 | --------------------------- | ||
47 | |||
48 | To switch to another manifest branch, `repo init -b otherbranch` | ||
49 | may be used in an existing client. However, as this only updates the | ||
50 | manifest, a subsequent `repo sync` (or `repo sync -d`) is necessary | ||
51 | to update the working directory files. | ||
41 | """ | 52 | """ |
42 | 53 | ||
43 | def _Options(self, p): | 54 | def _Options(self, p): |