contrib/bash_completion
changeset 20135 e39bd4b7be78
parent 20134 bc9735855598
child 21719 28ecdf3fa1db
equal deleted inserted replaced
20134:bc9735855598 20135:e39bd4b7be78
   249                 return 1
   249                 return 1
   250             ;;
   250             ;;
   251             -B|--bookmark)
   251             -B|--bookmark)
   252                 if [[ $canonical = 1 || status != "$cmd"* ]]; then
   252                 if [[ $canonical = 1 || status != "$cmd"* ]]; then
   253                     _hg_bookmarks
   253                     _hg_bookmarks
       
   254                     return 0
       
   255                 fi
       
   256                 return 1
       
   257             ;;
       
   258             -b|--branch)
       
   259                 if [[ $canonical = 1 || status != "$cmd"* ]]; then
       
   260                     _hg_branches
   254                     return 0
   261                     return 0
   255                 fi
   262                 fi
   256                 return 1
   263                 return 1
   257             ;;
   264             ;;
   258         esac
   265         esac