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

RE: [PATCH] Python mailer hook script for Windows

From: Prucha, Brett A <Brett.Prucha.BAH_at_scrb.navy.mil>
Date: 2004-12-14 23:05:05 CET

> What's wrong with a simple slice?

Nothing, I'm very new to Python programming and that's just what I came up with (:

> The UNIX case should continue to pass a list of arguments, not a string,
since this avoids the need to do any quoting at all. Indeed, given the
comment about zombies, the code should probably stay exactly the same in the
UNIX case.
>
Having os specific cases is fine. I was just submitting the patch for the windows case. I don't know how your build setup is like and didn't know if you could build separate Windows and Unix packages without having to add cases into the code or not.

> Meanwhile, the Win32 case should just quote everything, rather than
bothering with regexps, and might as well cope with embedded " characters
too.
>
You can not embedded everything in " characters. I have already tried that. You get the following error:

'diff" "-u" "-L" "' is not recognized as an internal or external command, operable program or batch file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 14 23:22:23 2004

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.