You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2014/05/06 13:13:43 UTC

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

Author: danielsh
Date: Tue May  6 11:13:42 2014
New Revision: 1592718

URL: http://svn.apache.org/r1592718
Log:
* subversion/tests/cmdline/svntest/sandbox.py
  (Sandbox.youngest): 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=1592718&r1=1592717&r2=1592718&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py Tue May  6 11:13:42 2014
@@ -374,6 +374,12 @@ class Sandbox:
     targets = self.ospaths(targets)
     svntest.main.run_svn(False, 'lock', *targets)
 
+  def youngest(self):
+    _, output, _ = svntest.actions.run_and_verify_svnlook(
+                     None, svntest.verify.AnyOutput, [],
+                     'youngest', self.repo_dir)
+    youngest = int(output[0])
+    return youngest
 
 def is_url(target):
   return (target.startswith('^/')