Actions:
|
2006-11-13 15:58 AEST by Arthur Barrett - The supplied rlog compatibility layer outputs Author with spaces (which seem
incompatible with the old rlog), so either the -X option should mangle the
names or there should be another option to remove the spaces from the author
name.
RCS 5.7 requires a patch like this:
diff -c ./rcs57/rcs-5.7/src/rlog.c ./rcs/rcs-5.7/src/rlog.c
*** ./rcs57/rcs-5.7/src/rlog.c Wed Sep 24 12:27:11 2003
--- ./rcs/rcs-5.7/src/rlog.c Fri Jun 16 16:19:24 1995
***************
*** 789,795 ****
newauthor->nextauthor = authorlist;
newauthor->login = argv;
authorlist = newauthor;
! while ((c = *++argv) && c!=',' && c!='\t' && c!='\n' && c!=';')
continue;
* argv = '\0';
if ( c == '\0') return;
--- 789,795 ----
newauthor->nextauthor = authorlist;
newauthor->login = argv;
authorlist = newauthor;
! while ((c = *++argv) && c!=',' && c!=' ' && c!='\t' && c!='\n' && c!
=';')
continue;
* argv = '\0';
if ( c == '\0') return;
The cvsnt rlog actually spawns the command "cvs rcsfile rlog ..." (contained in
cvsrcs.cpp which calls cvslog() in log.cpp. |
|
2006-11-13 16:03 AEST by Arthur Barrett - Suggested code:
cvs_output ("; author: ", 0);
if (supress_blanks_in_author)
{
if (ver->author!=NULL)
{
char *authorpos;
for (authorpos=ver->author;*authorpos!='\0';authorpos++)
{
if ((*authorpos==' ')||(*authorpos=='\t'))
*authorpos='-';
}
}
}
cvs_output (ver->author, 0);
|