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

Re: mailer.py now should work on Windows

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-01-23 01:04:59 CET

Max Bowsher schrieb:

> Fixed in r12672.

I am also trying to run the mailer.py on windows. After some trying and
finding the "1.1.x-mailer.py" branch (it is not in the 1.1.3 release,
isn't it?) I now managed to send commit e-mails. Thanks a lot!

There remains an issue with the DIFFs. I have setup a diff.exe from the
GnuWin32 tools which works with the command line from
mailer.conf.example. The diffs are added to the commit mails.
BUT: Each line from the diff contains an extra CRLF pair. So the diff
looks like this:

Modified: testproj/trunk/file2.txt
==============================================================================
--- testproj/trunk/file2.txt (original)
+++ testproj/trunk/file2.txt Sun Jan 23 00:39:13 2005
@@ -3,5 +3,14 @@
  Test Line 1

  Test Line 2

  Test Line 3

+c:/svn/repo1 @ 23

+c:/svn/repo1 @ 24

+c:/svn/repo1 @ 25

...

My guess is that the diff on windows outputs the lines with CR/LF line
endings, which are somewhere in the script converted into LF/LF, which
in turn is converted into CR/LF/CR/LF... But that is just a guess (I
don't speak Python).

Any ideas?

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 23 01:06:23 2005

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.