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

[PATCH] for_repos in default section for mailer.py

From: Robert Spier <rspier_at_pobox.com>
Date: 2006-02-24 08:02:35 CET

Apparently [defaults].for_repos hasn't worked in a while, at least not
for me. I traced this through a few months ago and the matches were
being thrown away. Now, as I go through the upgrade cycle, I'm
finally submitting the patch.

 * tools/hook-scripts/mailer/mailer.py
   (Config._prep_groups): Update the global parameter structure with
   params extracted from [defaults].for_repos so they can be used later.

--- tools/hook-scripts/mailer/mailer.py~ 2006-02-23 21:45:42.000000000 -0800
+++ tools/hook-scripts/mailer/mailer.py 2006-02-23 22:14:08.000000000 -0800
@@ -1140,6 +1140,7 @@
       match = re.match(self.defaults.for_repos, repos_dir)
       if match:
         default_params.update(match.groupdict())
+ self._global_params.update(match.groupdict())
     except AttributeError:
       # there is no self.defaults.for_repos
       pass

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 24 08:03:01 2006

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

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