Show More
@@ -207,9 +207,9 b' typeset -A _hg_cmd_globals' | |||||
207 | typeset -a heads |
|
207 | typeset -a heads | |
208 | local myrev |
|
208 | local myrev | |
209 |
|
209 | |||
210 | heads=(${(f)"$(_hg_cmd heads --template '{rev}\\n')"}) |
|
210 | heads=(${(f)"$(_hg_cmd heads --template '{rev}:{branch}\\n')"}) | |
211 | # exclude own revision |
|
211 | # exclude own revision | |
212 | myrev=$(_hg_cmd log -r . --template '{rev}\\n') |
|
212 | myrev=$(_hg_cmd log -r . --template '{rev}:{branch}\\n') | |
213 | heads=(${heads:#$myrev}) |
|
213 | heads=(${heads:#$myrev}) | |
214 |
|
214 | |||
215 | (( $#heads )) && _describe -t heads 'heads' heads |
|
215 | (( $#heads )) && _describe -t heads 'heads' heads |
General Comments 0
You need to be logged in to leave comments.
Login now