changeset 113:4f0cb7114235 dev

Define $hg in case called from command line.
author yuuji@gentei.org
date Thu, 15 Oct 2009 23:13:07 +0900
parents 138703ee0700
children e106e877e4d8
files hg2cvsci.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hg2cvsci.sh	Thu Oct 15 23:11:31 2009 +0900
+++ b/hg2cvsci.sh	Thu Oct 15 23:13:07 2009 +0900
@@ -8,7 +8,8 @@
 # incoming.cvsci = ./hg2cvsci.sh
 
 node=${HG_NODE:-tip}
+hg=${HG:-hg}
 msg=`hg log -r $node --template '{desc}\n'`
 cd `dirname $0`
-$HG up -r $node
+$hg up -r $node
 cvs ci -m "$msg"

yatex.org