changeset 13:25d3461d9f2f

Redirect stdout, too.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 Jan 2011 11:37:46 +0200
parents e4d1a3aa1493
children edfb5738a86a
files hg2cl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hg2cl	Sat Jan 15 07:55:55 2011 +0200
+++ b/hg2cl	Mon Jan 24 11:37:46 2011 +0200
@@ -113,7 +113,7 @@
 done
 
 # test for repository
-if ! hg log . 2> /dev/null; then
+if ! hg log . > /dev/null 2> /dev/null; then
 	echo "No Mercurial repository found from this directory."
 	exit 2
 fi