Hi All,
As suggested by 'Lieven Govaerts' on November 1.
I am posting the patch to check the 'revert' output and post revert status.
With regards
Kamesh Jayachandran
[[[
Verify the 'revert' output and post 'revert' status.
* subversion/tests/cmdline/revert_tests.py
(revert_replacement_with_props):
Verify the 'revert' output and post 'revert' status.
Patch by: Kamesh Jayachandran <kamesh@collab.net>
Suggested by: lgo
]]]
Index: subversion/tests/cmdline/revert_tests.py
===================================================================
--- subversion/tests/cmdline/revert_tests.py (revision 22320)
+++ subversion/tests/cmdline/revert_tests.py (working copy)
@@ -114,13 +114,11 @@
expected_status.tweak('A/D/G/rho', status='R ', copied='+', wc_rev='-')
svntest.actions.run_and_verify_status(wc_dir, expected_status)
- expected_status.tweak('A/D/G/rho', status=' ', copied=None,
- wc_rev='3')
- expected_output = svntest.wc.State(wc_dir, {
- 'A/D/G/rho': Item(verb='Replacing'),
- })
- svntest.actions.run_and_verify_svn("", None, [],
+ expected_status.tweak('A/D/G/rho', status=' ', copied=None, wc_rev='2')
+ expected_output = ["Reverted '" + rho_path + "'\n"]
+ svntest.actions.run_and_verify_svn("", expected_output, [],
'revert', '-R', wc_dir)
+ svntest.actions.run_and_verify_status(wc_dir, expected_status)
# Check disk status
expected_disk = svntest.main.greek_state.copy()
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 17 13:17:28 2006