Pass '-d -P' to 'cvs update'.
This commit is contained in:
parent
cee1dac95f
commit
8ef4e30fc5
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user