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:
parent
304ef4db49
commit
b8faaae3c7
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user