- in cvs checkout mode, "cvs co -c" should take into account "-d" (patch by

Liviu Daia <Liviu.Daia@imar.ro>)
This commit is contained in:
ianmacd 2002-05-08 15:26:18 +00:00
parent 9605206c3a
commit e8432a6a54

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a
#
# $Id: bash_completion,v 1.306 2002/05/08 17:23:51 ianmacd Exp $
# $Id: bash_completion,v 1.307 2002/05/08 17:26:18 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -971,7 +971,8 @@ _cvs()
;;
checkout)
if [[ "$cur" != -* ]]; then
COMPREPLY=( $( cvs co -c | awk '{print $1}' ) )
[ -z "$cvsroot" ] && cvsroot=$CVSROOT
COMPREPLY=( $( cvs -d "$cvsroot" co -c | awk '{print $1}' ) )
COMPREPLY=( $( compgen -W '${COMPREPLY[@]}' -- $cur ) )
else
COMPREPLY=( $( compgen -W '-A -N -P -R -c -f -l -n -p \