annotate hg2cvsci.sh @ 556:fbb636ff0fe3 dev yatex-1.81

Update version string for RELEASE version
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 24 Dec 2018 20:56:58 +0900
parents 4f0cb7114235
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
1 #!/bin/sh
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
2 # This script does not support automatic "cvs add".
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
3 # If new file is added by "hg add", don't forget to "cvs add" in
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
4 # CVS working dir.
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
5 #
112
138703ee0700 Comment more explanatory
yuuji@gentei.org
parents: 111
diff changeset
6 # This script should be called via incoming hook in .hg/hgrc as below.
138703ee0700 Comment more explanatory
yuuji@gentei.org
parents: 111
diff changeset
7 # [hooks]
138703ee0700 Comment more explanatory
yuuji@gentei.org
parents: 111
diff changeset
8 # incoming.cvsci = ./hg2cvsci.sh
111
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
9
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
10 node=${HG_NODE:-tip}
113
4f0cb7114235 Define $hg in case called from command line.
yuuji@gentei.org
parents: 112
diff changeset
11 hg=${HG:-hg}
111
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
12 msg=`hg log -r $node --template '{desc}\n'`
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
13 cd `dirname $0`
113
4f0cb7114235 Define $hg in case called from command line.
yuuji@gentei.org
parents: 112
diff changeset
14 $hg up -r $node
111
1b1bed72bb3e add hg2cvsci.sh
yuuji@gentei.org
parents:
diff changeset
15 cvs ci -m "$msg"

yatex.org