version 1.92, 2007/01/12 18:27:18 |
version 1.93, 2007/01/12 19:28:12 |
|
|
{ |
{ |
BUF *b, *d; |
BUF *b, *d; |
int isnew; |
int isnew; |
|
RCSNUM *head; |
int l, openflags, rcsflags; |
int l, openflags, rcsflags; |
char rbuf[24], nbuf[24]; |
char rbuf[24], nbuf[24]; |
CVSENTRIES *entlist; |
CVSENTRIES *entlist; |
|
|
|
|
if (cf->file_status == FILE_MODIFIED || |
if (cf->file_status == FILE_MODIFIED || |
cf->file_status == FILE_REMOVED || (cf->file_status == FILE_ADDED |
cf->file_status == FILE_REMOVED || (cf->file_status == FILE_ADDED |
&& cf->file_rcs != NULL && cf->file_rcs->rf_dead == 1)) |
&& cf->file_rcs != NULL && cf->file_rcs->rf_dead == 1)) { |
rcsnum_tostr(rcs_head_get(cf->file_rcs), rbuf, sizeof(rbuf)); |
head = rcs_head_get(cf->file_rcs); |
else |
rcsnum_tostr(head, rbuf, sizeof(rbuf)); |
|
rcsnum_free(head); |
|
} else { |
strlcpy(rbuf, "Non-existent", sizeof(rbuf)); |
strlcpy(rbuf, "Non-existent", sizeof(rbuf)); |
|
} |
|
|
isnew = 0; |
isnew = 0; |
if (cf->file_status == FILE_ADDED) { |
if (cf->file_status == FILE_ADDED) { |