[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH]verify the revert output and post revert status

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-11-17 13:17:04 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.