comparison hg2cl @ 13:25d3461d9f2f

Redirect stdout, too.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 Jan 2011 11:37:46 +0200
parents e4d1a3aa1493
children edfb5738a86a
comparison
equal deleted inserted replaced
12:e4d1a3aa1493 13:25d3461d9f2f
111 ;; 111 ;;
112 esac 112 esac
113 done 113 done
114 114
115 # test for repository 115 # test for repository
116 if ! hg log . 2> /dev/null; then 116 if ! hg log . > /dev/null 2> /dev/null; then
117 echo "No Mercurial repository found from this directory." 117 echo "No Mercurial repository found from this directory."
118 exit 2 118 exit 2
119 fi 119 fi
120 120
121 # find the directory that this script resides in 121 # find the directory that this script resides in