equal
deleted
inserted
replaced
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}\\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 |
|
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 _hg_files() { |
225 _hg_files() { |
219 if [[ -n "$_hg_root" ]] |
226 if [[ -n "$_hg_root" ]] |
220 then |
227 then |