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

[PATCH]remove unwanted tweaks for repos_rev for commit verification

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-11-01 13:18:33 CET

Hi All,
Find the attached patch and log.

With regards
Kamesh Jayachandran

[[[
No need to tweak repos_rev for commit tests.

* subversion/tests/cmdline/copy_tests.py
  (copy_replace, copy_replace_with_props,
   force_move):
   Same as the above summary.
* subversion/tests/cmdline/revert_tests.py
  (global): Bump up the copyright year.
  (revert_replacement_with_props):
   Same as the above summary.
Patch by: Kamesh Jayachandran <kamesh@collab.net>
]]]

Index: subversion/tests/cmdline/copy_tests.py
===================================================================
--- subversion/tests/cmdline/copy_tests.py (revision 22190)
+++ subversion/tests/cmdline/copy_tests.py (working copy)
@@ -79,9 +79,8 @@
   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(repos_rev='2')
   expected_status.tweak('A/D/G/rho', status=' ', copied=None,
- repos_rev='2', wc_rev='2')
+ wc_rev='2')
   expected_output = svntest.wc.State(wc_dir, {
     'A/D/G/rho': Item(verb='Replacing'),
     })
@@ -133,7 +132,6 @@
     'A/D/G/rho': Item(verb='Sending'),
     })
   expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
- expected_status.tweak(repos_rev='2')
   expected_status.tweak('A/D/G/pi', wc_rev='2')
   expected_status.tweak('A/D/G/rho', wc_rev='2')
   svntest.actions.run_and_verify_commit(wc_dir,
@@ -173,9 +171,8 @@
   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(repos_rev='3')
   expected_status.tweak('A/D/G/rho', status=' ', copied=None,
- repos_rev='3', wc_rev='3')
+ wc_rev='3')
   expected_output = svntest.wc.State(wc_dir, {
     'A/D/G/rho': Item(verb='Replacing'),
     })
@@ -1875,7 +1872,6 @@
     'dest': Item(verb='Adding'),
   })
   expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
- expected_status.tweak(repos_rev='2')
   expected_status.remove("iota")
   expected_status.add({
     'dest': Item(status=' ', wc_rev='2'),
Index: subversion/tests/cmdline/revert_tests.py
===================================================================
--- subversion/tests/cmdline/revert_tests.py (revision 22190)
+++ subversion/tests/cmdline/revert_tests.py (working copy)
@@ -6,7 +6,7 @@
 # See http://subversion.tigris.org for more information.
 #
 # ====================================================================
-# Copyright (c) 2000-2004 CollabNet. All rights reserved.
+# Copyright (c) 2000-2006 CollabNet. All rights reserved.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -75,7 +75,6 @@
     'A/D/G/rho': Item(verb='Sending'),
     })
   expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
- expected_status.tweak(repos_rev='2')
   expected_status.tweak('A/D/G/pi', wc_rev='2')
   expected_status.tweak('A/D/G/rho', wc_rev='2')
   svntest.actions.run_and_verify_commit(wc_dir,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 1 13:19:08 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.