diff options
author | Shawn O. Pearce <sop@google.com> | 2009-06-12 17:35:43 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-06-12 17:35:43 -0700 |
commit | 7da73d6f3ba579c67e58499b785dc4ac5beb9391 (patch) | |
tree | d23bc6178fbd43b4ef904d8fcf9f5db318d56209 | |
parent | f0d4c36701613dc9c305208d81b139208e40414c (diff) | |
download | git-repo-7da73d6f3ba579c67e58499b785dc4ac5beb9391.tar.gz |
branches: Describe output format in `repo help branches`v1.6.8.3
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | subcmds/branches.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/subcmds/branches.py b/subcmds/branches.py index 87c4f9b6..0e3ab3c2 100644 --- a/subcmds/branches.py +++ b/subcmds/branches.py | |||
@@ -61,6 +61,33 @@ class Branches(Command): | |||
61 | %prog [<project>...] | 61 | %prog [<project>...] |
62 | 62 | ||
63 | Summarizes the currently available topic branches. | 63 | Summarizes the currently available topic branches. |
64 | |||
65 | Branch Display | ||
66 | -------------- | ||
67 | |||
68 | The branch display output by this command is organized into four | ||
69 | columns of information; for example: | ||
70 | |||
71 | *P nocolor | in repo | ||
72 | repo2 | | ||
73 | |||
74 | The first column contains a * if the branch is the currently | ||
75 | checked out branch in any of the specified projects, or a blank | ||
76 | if no project has the branch checked out. | ||
77 | |||
78 | The second column contains either blank, p or P, depending upon | ||
79 | the upload status of the branch. | ||
80 | |||
81 | (blank): branch not yet published by repo upload | ||
82 | P: all commits were published by repo upload | ||
83 | p: only some commits were published by repo upload | ||
84 | |||
85 | The third column contains the branch name. | ||
86 | |||
87 | The fourth column (after the | separator) lists the projects that | ||
88 | the branch appears in, or does not appear in. If no project list | ||
89 | is shown, then the branch appears in all projects. | ||
90 | |||
64 | """ | 91 | """ |
65 | 92 | ||
66 | def Execute(self, opt, args): | 93 | def Execute(self, opt, args): |