You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2010/06/30 22:58:57 UTC

svn commit: r959431 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

Author: dannas
Date: Wed Jun 30 20:58:57 2010
New Revision: 959431

URL: http://svn.apache.org/viewvc?rev=959431&view=rev
Log:
* subversion/tests/cmdline/diff_tests.py
  (make_git_diff_header): Replace windows path separators with '/' for
    the diff labels.

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

Modified: subversion/trunk/subversion/tests/cmdline/diff_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/diff_tests.py?rev=959431&r1=959430&r2=959431&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests.py Wed Jun 30 20:58:57 2010
@@ -67,10 +67,12 @@ def make_git_diff_header(path, old_tag, 
   if copyfrom:
     copyfrom_as_shown = copyfrom.replace('\\', '/')
   if src_label:
+    src_label = src_label.replace('\\', '/')
     src_label = '\t(.../' + src_label + ')'
   else:
     src_label = ''
   if dst_label:
+    dst_label = dst_label.replace('\\', '/')
     dst_label = '\t(.../' + dst_label + ')'
   else:
     dst_label = ''