changeset 342:95e3ddc8c2f0

Fixed newest version detection for Subversion checkouts with external subdirs
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 22 Apr 2010 13:05:19 +0000
parents dc079231a062
children c0808837fc64
files treepkg/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/subversion.py	Thu Apr 15 14:53:31 2010 +0000
+++ b/treepkg/subversion.py	Thu Apr 22 13:05:19 2010 +0000
@@ -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):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)