Show More
@@ -213,6 +213,13 b' typeset -A _hg_cmd_globals' | |||
|
213 | 213 | heads=(${heads:#$myrev}) |
|
214 | 214 | |
|
215 | 215 | (( $#heads )) && _describe -t heads 'heads' heads |
|
216 | ||
|
217 | branches=(${(f)"$(_hg_cmd heads --template '{branch}\\n')"}) | |
|
218 | # exclude own revision | |
|
219 | myrev=$(_hg_cmd log -r . --template '{branch}\\n') | |
|
220 | branches=(${branches:#$myrev}) | |
|
221 | ||
|
222 | (( $#branches )) && _describe -t branches 'branches' branches | |
|
216 | 223 | } |
|
217 | 224 | |
|
218 | 225 | _hg_files() { |
General Comments 0
You need to be logged in to leave comments.
Login now