Hi,
[[[
Simple improvement to update test code.
* subversion/tests/cmdline/update_tests.py
(conflict_markers_matching_eol): Move loop independant code
outside the loop.
]]]
Regards,
Madan U S
www.symonds.net/~madan
Index: subversion/tests/cmdline/update_tests.py
===================================================================
--- subversion/tests/cmdline/update_tests.py (revision 20421)
+++ subversion/tests/cmdline/update_tests.py (working copy)
@@ -1699,11 +1699,11 @@
expected_status = svntest.actions.get_virginal_state(wc_dir, cur_rev)
expected_backup_status = svntest.actions.get_virginal_state(wc_backup, cur_rev)
+ path_backup = os.path.join(wc_backup, 'A', 'mu')
+
# do the test for each eol-style
for eol, eolchar in zip(['CRLF', 'CR', 'native', 'LF'],
[crlf, '\015', '\n', '\012']):
- path_backup = os.path.join(wc_backup, 'A', 'mu')
-
# add a new file with the eol-style property set.
open(mu_path, 'wb').write("This is the file 'mu'."+ eolchar)
svntest.main.run_svn(None, 'propset', 'svn:eol-style', eol, mu_path)
Simple improvement to update test code.
* subversion/tests/cmdline/update_tests.py
(conflict_markers_matching_eol): Move loop independant code
outside the loop.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 5 05:38:57 2006