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

mailer.py on Windows (and general svn-on-Windows commentary...)

From: Trent Nelson <svn-dev-list_at_trentnelson.com>
Date: Mon, 8 Sep 2008 18:36:30 +0000

    mailer.py suffers a similar issue on Windows as svnperms.py, both
    due to its use of popen() to run '/usr/bin/diff', as well as the
    lack of said program on Windows.

    I used mailer.py as a reference when I started the svn2cq module,
    which will eventually sync svn changes into a relational database,
    although currently it's no more than a more object-oriented version
    of mailer.py, without, er, the ability to send e-mail. As it's for
    a client that's a Windows shop, I just packaged diff.exe and the
    dependent .dlls in the module directory and replaced mailer.py's
    popen with subprocess:

        http://code.google.com/p/svn2cq/source/browse/trunk/src/svn2cq/

    You know what would be nice? If the out-of-the-box Subversion 1.5
    installer on Windows shipped not only mailer.py, but diff.exe and
    the .dlls as well. Oh, and used subprocess, if available.

    The other thing that would be nice is if the pre-*|post-*.tmpl hooks
    were .bat file equivalents on Windows. I mean, it's not exactly an
    issue converting sh to batch file syntax, but, it's an extra step
    required by a Windows admin in order to get the same functionality
    available for free on Unix.

    In an effort to avoid open-ended rhetoric, I presume that, as with
    most open source projects, the Windows installer/build/distribution
    is less feature-filled from its Unix counterpart due to lack of Win-
    dows developers, but in general, patches that improve functionality
    on Windows are welcome?

        Trent.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-08 20:36:42 CEST

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.