You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by sb...@apache.org on 2010/08/12 15:32:03 UTC

svn commit: r984765 - /subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py

Author: sbutler
Date: Thu Aug 12 13:32:03 2010
New Revision: 984765

URL: http://svn.apache.org/viewvc?rev=984765&view=rev
Log:
Add another helper method to the testing sandbox.

* subversion/tests/cmdline/svntest/sandbox.py:
  (Sandbox.simple_update): New method.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py?rev=984765&r1=984764&r2=984765&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py Thu Aug 12 13:32:03 2010
@@ -177,6 +177,12 @@ class Sandbox:
                                   temporary and 'TEMP' or 'PERM',
                                   parts[1])
     
+  def simple_update(self, target=None):
+    assert not self.read_only
+    if target is None:
+      target = self.wc_dir
+    svntest.main.run_svn(False, 'update', target)
+
   def simple_commit(self, target=None):
     assert not self.read_only
     if target is None: