You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/04/15 22:36:26 UTC
svn commit: r934585 -
/subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py
Author: stsp
Date: Thu Apr 15 20:36:25 2010
New Revision: 934585
URL: http://svn.apache.org/viewvc?rev=934585&view=rev
Log:
On the svn-patch-improvements branch:
* subversion/tests/cmdline/patch_tests.py
(patch_remove_empty_dirs): Use make_patch_path() instead of mkstemp()
to create a filename for the patch file.
Modified:
subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py
Modified: subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py
URL: http://svn.apache.org/viewvc/subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py?rev=934585&r1=934584&r2=934585&view=diff
==============================================================================
--- subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/branches/svn-patch-improvements/subversion/tests/cmdline/patch_tests.py Thu Apr 15 20:36:25 2010
@@ -1007,7 +1007,7 @@ def patch_remove_empty_dirs(sbox):
sbox.build()
wc_dir = sbox.wc_dir
- patch_file_path = tempfile.mkstemp(dir=os.path.abspath(svntest.main.temp_dir))[1]
+ patch_file_path = make_patch_path(sbox)
# Contents of B:
# A/B/lamba