[Treepkg-commits] r295 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 22 15:05:19 CEST 2010


Author: aheinecke
Date: 2010-04-22 15:05:19 +0200 (Thu, 22 Apr 2010)
New Revision: 295

Modified:
   trunk/treepkg/subversion.py
Log:
Fixed newest version detection for Subversion checkouts with external subdirs


Modified: trunk/treepkg/subversion.py
===================================================================
--- trunk/treepkg/subversion.py	2010-04-21 14:29:00 UTC (rev 294)
+++ trunk/treepkg/subversion.py	2010-04-22 13:05:19 UTC (rev 295)
@@ -198,7 +198,7 @@
 
     def last_changed_revision(self, localdir):
         """Returns the last changed revision of the working copy in localdir"""
-        return max([last_changed_revision(os.path.join(localdir, d))
+        return max([int(last_changed_revision(os.path.join(localdir, d)))
                     for d in [localdir] + list(self.external_subdirs)])
 
     def check_working_copy(self, localdir):



More information about the Treepkg-commits mailing list