In CVS, don't call vcs_status if update is used already.
As CVS lists changes during the 'update' call, there's no reason to call it twice. Thus, call vcs_status only if -d is used.
This commit is contained in:
parent
849ccc9cf7
commit
cee1dac95f
@ -441,7 +441,14 @@ main() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
vcs_status
|
if [ -z "${noupdate}" ]; then
|
||||||
|
sayv "Updating the repository..."
|
||||||
|
vcs_update
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ${SC_VCS} != cvs -o -n "${noupdate}" ]; then
|
||||||
|
vcs_status
|
||||||
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Since commit 32264c3, repoman supports '--ask' option,
|
# Since commit 32264c3, repoman supports '--ask' option,
|
||||||
@ -475,11 +482,6 @@ main() {
|
|||||||
confirm
|
confirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${noupdate}" ]; then
|
|
||||||
sayv "Updating the repository..."
|
|
||||||
vcs_update
|
|
||||||
fi
|
|
||||||
|
|
||||||
# In CVS, we don't prepend the package name to the commit message.
|
# In CVS, we don't prepend the package name to the commit message.
|
||||||
[ ${SC_VCS} = cvs ] && noprepend=
|
[ ${SC_VCS} = cvs ] && noprepend=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user