Author: stefan2
Date: Wed Nov 19 14:29:46 2014
New Revision: 1640560
URL: http://svn.apache.org/r1640560
Log:
On the 1.8.x-r1536854 branch: Remove unused function that had
been added as part of the r1536854 merge.
* subversion/tests/cmdline/svnadmin_tests.py
(set_changed_path_list): Drop.
Found by: breser
Modified:
subversion/branches/1.8.x-r1536854/subversion/tests/cmdline/svnadmin_tests.py
Modified:
subversion/branches/1.8.x-r1536854/subversion/tests/cmdline/svnadmin_tests.py
URL:
http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1536854/subversion/tests/cmdline/svnadmin_tests.py?rev=1640560&r1=1640559&r2=1640560&view=diff
==============================================================================
---
subversion/branches/1.8.x-r1536854/subversion/tests/cmdline/svnadmin_tests.py
(original)
+++
subversion/branches/1.8.x-r1536854/subversion/tests/cmdline/svnadmin_tests.py
Wed Nov 19 14:29:46 2014
@@ -238,27 +238,6 @@ def load_dumpstream(sbox, dump, *varargs
return load_and_verify_dumpstream(sbox, None, None, None, False, dump,
*varargs)
-def set_changed_path_list(filename, changes):
- """ Replace the changed paths list in the file given by FILENAME
- with the text CHANGES."""
-
- # read full file
- fp = open(filename, 'r+b')
- contents = fp.read()
-
- # replace the changed paths list
- length = len(contents)
- header = contents[contents.rfind('\n', length - 64, length - 1):]
- body_len = long(header.split(' ')[1])
-
- contents = contents[:body_len] + changes + header
-
- # set new contents
- fp.seek(0)
- fp.write(contents)
- fp.truncate()
- fp.close()
-
######################################################################
# Tests