I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-07-15 22:44:43-07 by dsch04
url for modified paths?

Hi,

Just getting started with svnnotify - liking it a lot.

I'm using this config in my post-commit:

/usr/bin/svnnotify \ --repos-path "$REPOS" \ --revision "$REV" \ --to ${PROJECT}-svn@example.com \ --from svn@example.com \ --reply-to ${PROJECT}-dev@example.com \ --handler Alternative \ --alternative HTML::ColorDiff \ --svnlook /usr/bin/svnlook \ --with-diff

All is working well, except for one annoyance.

In the diff output, in the email, I see something like this:

Modified Paths * trunk/Test file.txt

The "trunk/Test file.txt" is a link. However, it seems to be a link to my IMAP server:

imap://robin%40example%2Ecom@imap.example:143/fetch%3EUID%3E/Lists/exmaple.com/test-svn%3E4#trunkTe +stfiletxt

How can I turn this into a link to the file in either the svn repo:

http://projects.example/test/svn/trunk/Test%20file.txt

or the trac code browser:

http://projects.example.com/test/trac/browser/trunk/Test%20file.txt

Thanks,

R.

Direct Responses: 11184 | Write a response
Posted on 2009-07-18 02:05:37-07 by theory in response to 11179
Re: url for modified paths?
It actually creates a link to a line further down in the email, the line where the diff for that file starts. If it points to something on your IMAP server, then something in your server is modifying the link. Or else, because it's just a linke to an ID (<a href="#...">), your mail client is filling in the host name unnecessarily. Try another client. --Theory
Direct Responses: Write a response