[vhffs-dev] [2228] Added mail headers in notification mails to identify |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 2228
Author: guillaumito
Date: 2013-03-07 22:04:16 +0100 (Thu, 07 Mar 2013)
Log Message:
-----------
Added mail headers in notification mails to identify
origin repository.
Modified Paths:
--------------
trunk/vhffs-robots/misc/svn_post-commit.pl
Modified: trunk/vhffs-robots/misc/svn_post-commit.pl
===================================================================
--- trunk/vhffs-robots/misc/svn_post-commit.pl 2013-01-26 21:29:21 UTC (rev 2227)
+++ trunk/vhffs-robots/misc/svn_post-commit.pl 2013-03-07 21:04:16 UTC (rev 2228)
@@ -59,6 +59,10 @@
);
my $notifier = SVN::Notify->new(%params);
+ $notifier->add_headers({
+ 'X-Repository-Type' => 'svn',
+ 'X-Repository-Name' => $reponame,
+ });
$notifier->prepare;
$notifier->execute;
}