head     1.2;
branch   ;
access   ;
symbols  ;
locks    kemnitz:1.2; strict;
comment  @# @;


1.2
date     91.09.16.19.16.51;  author kemnitz;  state Exp;
branches ;
next     1.1;

1.1
date     91.09.16.18.49.46;  author kemnitz;  state Exp;
branches ;
next     ;


desc
@notes changes to the log file.
@


1.2
log
@fixed seqfile
@
text
@#!/bin/sh
#
# This file commits a checkin.  It is internally used by "unlocktree" - it
# should not be called directly.
#
# $Header: RCS/pcommit,v 1.1 91/09/16 18:49:46 kemnitz Exp Locker: kemnitz $

MASTER=/a/postgres/ctree

LOGFILE=$1
LOCKFILE=$2
U=$3
SEQFILE=$MASTER/seqno

seqno=`cat $SEQFILE`

echo "CHECKIN: $seqno USER: $U DATE: `date` >> $LOGFILE
cat $LOCKFILE >> $LOGFILE
echo "====" >> $LOGFILE

seqno=`expr $seqno + 1`
echo $seqno > $SEQFILE

cp $LOCKFILE /tmp/checkins.$U
rm -f $LOCKFILE

echo "/tmp/checkins.$U"
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Header: RCS/pci,v 1.1 91/09/16 02:01:05 kemnitz Exp Locker: kemnitz $
d13 1
a13 1
SEQFILE=$MASTER/seqfile
@
