[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mailer.py: Problem with substitution

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-10-12 18:34:46 CEST

Stefan Wimmer <swimmer@gx.nl> writes:

> Stefan Wimmer <swimmer <at> gx.nl> writes:
> > Hi all,
> >
> > let me describe the situation: I have 1 repository for projects
> > with a lot of sub-projects and I'd like to be able to show the
> > sub-project name in the subject of the commit mails. But I get
> > error messages if I try to use the substitution functionality from
> > mailer.conf :(
>
>
> Is there no solution for this problem? Please help me because I have
> to make a decision how I organize my projects ...

Sorry, I meant to respond to your mail earlier. The solution is that
you need to use individual sections in mailer.conf for each of your
projects, not a pattern-matching attempt.

Were I you, I'd made a per-repository mailer.conf file. This file
would have all the default values setup appropriately for all the
projects in the repository. Then, for each project, you have a
section for overriding the repository:

   [defaults]
   for_repos = /subversion/projects/projects
   ...

   [project1]
   for_path = project1
   commit_subject_prefix = [project1]

   [project2]
   for_path = project2
   commit_subject_prefix = [project2]
 
   ...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 12 18:37:39 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.