# HG changeset patch # User Augie Fackler # Date 1235161287 21600 # Node ID 1c75cab141ae095d4c051ad4b31c87b0428eae76 # Parent 846d556d9619ebf1f54d1edcbebc669742ac339a Fix up the number of spaces required so really long branch names don't screw up the completion. diff --git a/.zfun/_hg b/.zfun/_hg --- a/.zfun/_hg +++ b/.zfun/_hg @@ -147,7 +147,7 @@ typeset -A _hg_cmd_globals _hg_cmd tags 2> /dev/null | while read tag do - tags+=(${tag/ # [0-9]#:*}) + tags+=(${tag/ # [0-9]#:*}) done (( $#tags )) && _describe -t tags 'tags' tags } @@ -158,7 +158,7 @@ typeset -A _hg_cmd_globals _hg_cmd branches -a 2> /dev/null | while read branch do - branches+=(${branch/ # [0-9]#:*}) + branches+=(${branch/ # [0-9]#:*}) done (( $#branches )) && _describe -t branches 'branches' branches } @@ -169,12 +169,12 @@ typeset -A _hg_cmd_globals _hg_cmd tags 2> /dev/null | while read tag do - branchtags+=(${tag/ # [0-9]#:*}) + branchtags+=(${tag/ # [0-9]#:*}) done _hg_cmd branches -a 2> /dev/null | while read branch do - branchtags+=(${branch/ # [0-9]#:*}) + branchtags+=(${branch/ # [0-9]#:*}) done (( $#branchtags )) && _describe -t branchtags 'branchtags' branchtags }