Mercurial > hgrepos > hgweb.cgi > yatex
changeset 111:1b1bed72bb3e dev
add hg2cvsci.sh
author | yuuji@gentei.org |
---|---|
date | Thu, 15 Oct 2009 23:05:57 +0900 |
parents | 516773864f7d |
children | 138703ee0700 |
files | hg2cvsci.sh |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hg2cvsci.sh Thu Oct 15 23:05:57 2009 +0900 @@ -0,0 +1,12 @@ +#!/bin/sh +# This script does not support automatic "cvs add". +# If new file is added by "hg add", don't forget to "cvs add" in +# CVS working dir. +# +# This script should be called via incomming.hook. + +node=${HG_NODE:-tip} +msg=`hg log -r $node --template '{desc}\n'` +cd `dirname $0` +$HG up -r $node +cvs ci -m "$msg"