diff --git a/sunrise-commit b/sunrise-commit index bb07f62..53bfec6 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -187,7 +187,7 @@ vcs_reset() { git checkout HEAD -- "${@}" 2>/dev/null || req rm -f -- "${@}" elif [ ${SC_VCS} = hg ]; then [ -n "$(hg status -au "${@}")" ] && req rm -f -- "${@}" - hg revert -- "${@}" 2>/dev/null + hg revert --no-backup -- "${@}" 2>/dev/null elif [ ${SC_VCS} = svn ]; then req rm -f -- "${@}" svn revert -- "${@}" >/dev/null