version 1.33, 2005/10/16 11:29:28 |
version 1.34, 2005/10/16 11:35:11 |
|
|
#define DATE_MTIME -2 |
#define DATE_MTIME -2 |
|
|
static char * checkin_diff_file(RCSFILE *, RCSNUM *, const char *); |
static char * checkin_diff_file(RCSFILE *, RCSNUM *, const char *); |
static char * checkin_getlogmsg(char *, RCSNUM *, RCSNUM *); |
static char * checkin_getlogmsg(RCSNUM *, RCSNUM *); |
|
|
void |
void |
checkin_usage(void) |
checkin_usage(void) |
|
|
* If no log message specified, get it interactively. |
* If no log message specified, get it interactively. |
*/ |
*/ |
if (rcs_msg == NULL) |
if (rcs_msg == NULL) |
rcs_msg = checkin_getlogmsg(fpath, frev, newrev); |
rcs_msg = checkin_getlogmsg(frev, newrev); |
|
|
/* |
/* |
* Remove the lock |
* Remove the lock |
|
|
* Get log message from user interactively. |
* Get log message from user interactively. |
*/ |
*/ |
static char * |
static char * |
checkin_getlogmsg(char *rcsfile, RCSNUM *rev, RCSNUM *rev2) |
checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2) |
{ |
{ |
char *rcs_msg, buf[128], nrev[16], prev[16]; |
char *rcs_msg, buf[128], nrev[16], prev[16]; |
BUF *logbuf; |
BUF *logbuf; |