Pass '-d -P' to 'cvs update'.

This commit is contained in:
Michał Górny 2010-10-30 11:48:03 +02:00
parent cee1dac95f
commit 8ef4e30fc5

View File

@ -262,8 +262,10 @@ vcs_commit() {
vcs_update() { vcs_update() {
# Unlike svn, DVCSes don't push the changes to their origins immediately. # Unlike svn, DVCSes don't push the changes to their origins immediately.
# That's why we don't force update to it right here. # That's why we don't force update to it right here.
if [ ${SC_VCS} = svn -o ${SC_VCS} = cvs ]; then if [ ${SC_VCS} = svn ]; then
${SC_VCS} up -- "${@}" || say "Warning: ${SC_VCS} up failed, trying to proceed anyway." svn up -- "${@}" || say "Warning: ${SC_VCS} up failed, trying to proceed anyway."
elif [ ${SC_VCS} = cvs ]; then
cvs up -d -P -- "${@}" || say "Warning: ${SC_VCS} up failed, trying to proceed anyway."
fi fi
} }