diff --git a/sunrise-commit b/sunrise-commit index 36109d7..bb07f62 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -44,7 +44,7 @@ local_supported || eval 'local() { find_repo() { if svn info >/dev/null 2>&1; then SC_VCS=svn - elif hg tip 2>/dev/null; then + elif hg tip >/dev/null 2>&1; then SC_VCS=hg else local remotes