version 1.16, 2005/10/10 14:21:37 |
version 1.17, 2005/10/10 14:49:32 |
|
|
cvs_log(LP_ERR, "failed to open rcsfile '%s'", fpath); |
cvs_log(LP_ERR, "failed to open rcsfile '%s'", fpath); |
exit(1); |
exit(1); |
} |
} |
|
/* |
|
* If rev is not specified on the command line, |
|
* assume HEAD. |
|
*/ |
|
frev = file->rf_head; |
|
/* |
|
* If revision passed on command line is less than HEAD, bail. |
|
*/ |
|
if ((newrev != NULL) && (rcsnum_cmp(newrev, frev, 0) > 0)) { |
|
cvs_log(LP_ERR, "revision is too low!"); |
|
status = 1; |
|
rcs_close(file); |
|
continue; |
|
} |
|
|
if (dflag) { |
if (dflag) { |
/* XXX */ |
/* XXX */ |
|
|
exit(1); |
exit(1); |
|
|
filec = cvs_buf_release(bp); |
filec = cvs_buf_release(bp); |
|
|
/* |
|
* If rev is not specified on the command line, |
|
* assume HEAD. |
|
*/ |
|
frev = file->rf_head; |
|
|
|
/* |
/* |
* Check for a lock belonging to this user. If none, |
* Check for a lock belonging to this user. If none, |