summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py17
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
35from the server and is installed in the .repo/ directory in the 35from the server and is installed in the .repo/ directory in the
36current working directory. 36current working directory.
37 37
38The optional <manifest> argument can be used to specify an alternate 38The optional -b argument can be used to select the manifest branch
39manifest to be used. If no manifest is specified, the manifest 39to checkout and use. If no branch is specified, master is assumed.
40default.xml will be used. 40
41The optional -m argument can be used to specify an alternate manifest
42to be used. If no manifest is specified, the manifest default.xml
43will be used.
44
45Switching Manifest Branches
46---------------------------
47
48To switch to another manifest branch, `repo init -b otherbranch`
49may be used in an existing client. However, as this only updates the
50manifest, a subsequent `repo sync` (or `repo sync -d`) is necessary
51to update the working directory files.
41""" 52"""
42 53
43 def _Options(self, p): 54 def _Options(self, p):