Use 'svn revert' to clean/restore ChangeLog.

Unlike 'svn up', 'svn revert' doesn't require network access and
preserves current revision.
This commit is contained in:
Michał Górny 2010-07-13 17:39:49 +02:00
parent 304ef4db49
commit b8faaae3c7

View File

@ -178,7 +178,7 @@ vcs_reset() {
git checkout -f -- "${@}" 2>/dev/null || req rm -f -- "${@}" git checkout -f -- "${@}" 2>/dev/null || req rm -f -- "${@}"
elif [ ${SC_VCS} = svn ]; then elif [ ${SC_VCS} = svn ]; then
req rm -f -- "${@}" req rm -f -- "${@}"
svn up -- "${@}" >/dev/null 2>&1 svn revert -- "${@}" >/dev/null
fi fi
} }