From b8faaae3c74eba798211bd43cc6e849f83f8489d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 13 Jul 2010 17:39:49 +0200 Subject: [PATCH] Use 'svn revert' to clean/restore ChangeLog. Unlike 'svn up', 'svn revert' doesn't require network access and preserves current revision. --- sunrise-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunrise-commit b/sunrise-commit index fd3465c..9915800 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -178,7 +178,7 @@ vcs_reset() { git checkout -f -- "${@}" 2>/dev/null || req rm -f -- "${@}" elif [ ${SC_VCS} = svn ]; then req rm -f -- "${@}" - svn up -- "${@}" >/dev/null 2>&1 + svn revert -- "${@}" >/dev/null fi }