[py-svn] r8286 - py/dist/py/path/svn
hpk at codespeak.net
hpk at codespeak.net
Sat Jan 15 11:20:33 CET 2005
Author: hpk
Date: Sat Jan 15 11:20:32 2005
New Revision: 8286
Modified:
py/dist/py/path/svn/svncommon.py
Log:
a preliminary way to get at revisions
Modified: py/dist/py/path/svn/svncommon.py
==============================================================================
--- py/dist/py/path/svn/svncommon.py (original)
+++ py/dist/py/path/svn/svncommon.py Sat Jan 15 11:20:32 2005
@@ -190,12 +190,12 @@
return tuple(res)
- #def _childmaxrev(self):
- # """ return maximum revision number of childs (or self.rev if no childs) """
- # rev = self.rev
- # for name, info in self._listdir_nameinfo():
- # rev = max(rev, info.created_rev)
- # return rev
+ def _childmaxrev(self):
+ """ return maximum revision number of childs (or self.rev if no childs) """
+ rev = self.rev
+ for name, info in self._listdir_nameinfo():
+ rev = max(rev, info.created_rev)
+ return rev
#def _getlatestrevision(self):
# """ return latest repo-revision for this path. """
More information about the pytest-commit
mailing list