[py-svn] r28196 - py/dist/py/misc
hpk at codespeak.net
hpk at codespeak.net
Sat Jun 3 20:12:03 CEST 2006
Author: hpk
Date: Sat Jun 3 20:12:03 2006
New Revision: 28196
Modified:
py/dist/py/misc/svnlook.py
Log:
add a small method for getting the youngest rev
Modified: py/dist/py/misc/svnlook.py
==============================================================================
--- py/dist/py/misc/svnlook.py (original)
+++ py/dist/py/misc/svnlook.py Sat Jun 3 20:12:03 2006
@@ -24,6 +24,7 @@
for line in out.strip().split('\n'):
l.append(ChangeItem(repo, revision, line))
return l
-
-
-
+
+def youngest(repo):
+ out = py.process.cmdexec("svnlook youngest %s" %(repo,))
+ return int(out)
More information about the pytest-commit
mailing list