[Treepkg-commits] r298 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 22 21:25:03 CEST 2010


Author: aheinecke
Date: 2010-04-22 21:25:02 +0200 (Thu, 22 Apr 2010)
New Revision: 298

Modified:
   trunk/treepkg/subversion.py
Log:
Last changed revision is now again correctly returned as a string


Modified: trunk/treepkg/subversion.py
===================================================================
--- trunk/treepkg/subversion.py	2010-04-22 13:36:56 UTC (rev 297)
+++ trunk/treepkg/subversion.py	2010-04-22 19:25:02 UTC (rev 298)
@@ -198,8 +198,9 @@
 
     def last_changed_revision(self, localdir):
         """Returns the last changed revision of the working copy in localdir"""
-        return max([int(last_changed_revision(os.path.join(localdir, d)))
+        max_rev = max([int(last_changed_revision(os.path.join(localdir, d)))
                     for d in [localdir] + list(self.external_subdirs)])
+        return str(max_rev)
 
     def check_working_copy(self, localdir):
         """Checks whether localdir contains a checkout of the



More information about the Treepkg-commits mailing list