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/05/23 19:43:28 UTC

svn commit: r947451 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

Author: stsp
Date: Sun May 23 17:43:28 2010
New Revision: 947451

URL: http://svn.apache.org/viewvc?rev=947451&view=rev
Log:
Follow-up to r947443:
* subversion/tests/cmdline/patch_tests.py
  (patch_strip1): Pass --strip-count 1 instead of -p1.

Modified:
    subversion/trunk/subversion/tests/cmdline/patch_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=947451&r1=947450&r2=947451&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Sun May 23 17:43:28 2010
@@ -671,7 +671,7 @@ def patch_chopped_leading_spaces(sbox):
 
 
 def patch_strip1(sbox):
-  "patch with -p1"
+  "patch with --strip-count 1"
 
   sbox.build()
   wc_dir = sbox.wc_dir
@@ -838,7 +838,7 @@ def patch_strip1(sbox):
                                        None, # expected err
                                        1, # check-props
                                        1, # dry-run
-                                       '-p1')
+                                       '--strip-count', '1')
 
 def patch_no_index_line(sbox):
   "patch with no index lines"