Pass '-d -P' to 'cvs update'.
This commit is contained in:
parent
cee1dac95f
commit
8ef4e30fc5
@ -262,8 +262,10 @@ vcs_commit() {
|
||||
vcs_update() {
|
||||
# Unlike svn, DVCSes don't push the changes to their origins immediately.
|
||||
# That's why we don't force update to it right here.
|
||||
if [ ${SC_VCS} = svn -o ${SC_VCS} = cvs ]; then
|
||||
${SC_VCS} up -- "${@}" || say "Warning: ${SC_VCS} up failed, trying to proceed anyway."
|
||||
if [ ${SC_VCS} = svn ]; then
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user