view hg2cvsci.sh @ 262:15ec86ff549c dev

Call always bibtex after first typesetting when document needs bibtex. Display total ellapsed time of all processing for impatients :). Use value of `%BIBTEX ...' line, if any, to automatic (re)run of bibtex.
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 17 Feb 2012 17:42:27 +0900
parents 4f0cb7114235
children
line wrap: on
line source

#!/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 incoming hook in .hg/hgrc as below.
# [hooks]
# 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
cvs ci -m "$msg"

yatex.org