Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Hi, I was able to fix the problem by making a few changes in the email_trigger.cpp file. Here is the diff of the changes I made, if you're interested: Index: email_trigger.cpp =================================================================== RCS file: /usr/local/cvs/cvsnt/triggers/email_trigger.cpp,v retrieving revision 1.1.2.17 diff -r1.1.2.17 email_trigger.cpp 198a199,202 > last_module = directory; > if(strchr(directory,'/')) > last_module.resize(last_module.find('/')); > 544c548 < --- > 559c563 < cvs::string& line = cache[n]; --- > cvs::string line = cache[n]; 566,567d569 < if(directory_iterator == i->second.end()) < dir_repeat = 0; 589,590d590 < if(file_iterator == directory_iterator->second.end()) < file_repeat = 0; 612a613,614 > while((pos=line.find("[module]"))!=cvs::string::npos) > line.replace(pos,8,last_module); Thanks, M. Sheppard M. Sheppard wrote: > Hi, > > I'm trying to use the tag_email file to send notifications when a > project has been tagged. When the email arrives, the [module] parameter > isn't being resolved, and only the first file in the > [begin_file]...[end_file] is being displayed (although it is getting > displayed several times). This is the output: > > N AssemblyInfo.cs 1.1 Test-1-0-0-5 > N AssemblyInfo.cs 1.1 Test-1-0-0-5 > N AssemblyInfo.cs 1.1 Test-1-0-0-5 > N AssemblyInfo.cs 1.1 Test-1-0-0-5 > N AssemblyInfo.cs 1.1 Test-1-0-0-5 > > Does anyone know what's going on? Here is my email template: > > > From: [email] > To: sheppam at wsdot.wa.gov > Subject: Tag to [module] > > CVSROOT: [repository] > Module name: [module] > Changes by: [email] [date] > On host: [hostname] > > [begin_directory] > Directory: [directory] > > [begin_file] > [tag_type] [filename] [revision] [tag] > [end_file] > [end_directory] > > Log message: > [message] > > > > > Thanks, > > Mike Sheppard