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

[PATCH] svneditor.bat

From: Daniel Shahaf <d.s_at_daniel.shahaf.co.il>
Date: Sat, 19 Apr 2008 13:39:59 +0300 (Jerusalem Daylight Time)

The testsuite on Windows assumes that *.py files are executable by saying
their name. The following patch removes this assumption. For me, the
tests fail without it.

This is consistent with INSTALL, which prefixes "python " to every example
of running a Python script on Windows.

[[[
* subversion/tests/cmdline/svneditor.bat:
    Call python.exe to run a python script.
]]]

Index: subversion/tests/cmdline/svneditor.bat
===================================================================
--- subversion/tests/cmdline/svneditor.bat (revision 30700)
+++ subversion/tests/cmdline/svneditor.bat (working copy)
@@ -1,5 +1,5 @@
 @echo off
 rem the svneditor.py script is expected to be in the same directory as the
 rem .bat file
-%~dp0\svneditor.py %*
+python %~dp0\svneditor.py %*
 exit %ERRORLEVEL%
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-22 08:22:56 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.