Subject: | SVN::Notify : email missing fields if repo name has an _ in it |
Date: | Wed, 17 Jul 2013 18:36:33 -0500 |
To: | <bug-SVN-Notify [...] rt.cpan.org> |
From: | Miles O'Neal <miles.oneal [...] cirrus.com> |
We recently moved most of our subversion repos to a new server. As we
have post-commit notification scripts, I ported those and installed
SVN::Notify. Everything worked fine for most of the repos, but for one
repo, the emails are mal-formed. I used an identical script in another
repo, where it worked fine. Eventually, I narrowed it down (AFAICT) to
the underscore in the repo name of the problematic repo.
To test this, I created a new repo (MEO_RRU) and populated it with the
files I had in the old test repo (MEO). I then modified the .xls file
triggering the notification and commited the changes. Voila! a malformed
email.
Whereas identical changes on MEO generate an email with a subject such as
[svn:MEO][20] Board_Numbers.xls: added RRU eval board
changes on MEO_RRU generate emails with subjects like
[svn:MEO_RRU][2]
(no log text).
On MEO_RRU, everything but the revision comes through empty:
Revision
2
Author
Date
Log Message
Diff
On MEO, it comes through as expected:
Revision
21
Author
moneal
Date
2013-07-17 18:02:00 -0500 (Wed, 17 Jul 2013)
Log Message
testing stuff
Modified Paths
* Board_Numbers.xls
<imap://ad%2Fmoneal@clmsg-01.ad.cirrus.com:993/fetch%3EUID%3E/Trash%3E103821#Board_Numbersxls>
Diff
Modified: Board_Numbers.xls
(Binary files differ)
--
Miles O'Neal
CAD Systems Engineer
Cirrus Logic | cirrus.com | 1.512.851.4659