47 |
* been changed when RereadLogAfterVerify is STAT. |
* been changed when RereadLogAfterVerify is STAT. |
48 |
*/ |
*/ |
49 |
struct stat pre_stbuf; |
struct stat pre_stbuf; |
50 |
|
/* The list of files being changed, with new and old version numbers. |
51 |
|
*/ |
52 |
|
List *changes; |
53 |
}; |
}; |
54 |
|
|
55 |
/* |
/* |
402 |
independant of the running of an editor for getting a message. |
independant of the running of an editor for getting a message. |
403 |
*/ |
*/ |
404 |
void |
void |
405 |
do_verify (char **messagep, const char *repository) |
do_verify (char **messagep, const char *repository, List *changes) |
406 |
{ |
{ |
407 |
int err; |
int err; |
408 |
struct verifymsg_proc_data data; |
struct verifymsg_proc_data data; |
409 |
struct stat post_stbuf; |
struct stat post_stbuf; |
410 |
|
|
411 |
#ifdef CLIENT_SUPPORT |
#ifdef CLIENT_SUPPORT |
412 |
if( current_parsed_root->isremote ) |
if (current_parsed_root->isremote) |
413 |
/* The verification will happen on the server. */ |
/* The verification will happen on the server. */ |
414 |
return; |
return; |
415 |
#endif |
#endif |
424 |
|
|
425 |
data.message = *messagep; |
data.message = *messagep; |
426 |
data.fname = NULL; |
data.fname = NULL; |
427 |
|
data.changes = changes; |
428 |
if ((err = Parse_Info (CVSROOTADM_VERIFYMSG, repository, |
if ((err = Parse_Info (CVSROOTADM_VERIFYMSG, repository, |
429 |
verifymsg_proc, 0, &data)) != 0) |
verifymsg_proc, 0, &data)) != 0) |
430 |
{ |
{ |
936 |
"r", "s", |
"r", "s", |
937 |
current_parsed_root->directory, |
current_parsed_root->directory, |
938 |
"l", "s", vpd->fname, |
"l", "s", vpd->fname, |
939 |
|
"sV", ",", vpd->changes, |
940 |
|
logmsg_list_to_args_proc, (void *) NULL, |
941 |
(char *) NULL); |
(char *) NULL); |
942 |
|
|
943 |
#ifdef SUPPORT_OLD_INFO_FMT_STRINGS |
#ifdef SUPPORT_OLD_INFO_FMT_STRINGS |