Hi all, I'm messing with the contrib scripts commit_prep and log_accum to try to get one-email-per-commit notifications rather than one per directory (tried so far on two machines, cvs version 1.9.29, and cvs 1.10.7 respectively). My loginfo line looks like
ALL $CVSROOT/CVSROOT/log_accum -m [EMAIL PROTECTED] %s However, %s doesn't seem to be just the file name, as the default loginfo comment indicates, but rather "directory file", ie. with a space. This is normally not a problem, but if you have spaces in your directory or file names, this makes it impossible to parse out the argument passed to log_accum. If I have a module cvstest, with the following files: cvstest/dira/filea cvstest/space dir/fileb cvstest/space dir/space file And I modify filea and 'space file', then log_accum is called twice, and the filename arg it gets is, respectively: cvstest/dira filea and cvstest/space dir space file Am I missing something? Does anyone have any suggestions as to how to parse the output of %s from loginfo into a directory part and a filename part in a general fashion? thanks, -emile ps. please cc me on replies. _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
