# HG changeset patch # User Andre Heinecke # Date 1271941519 0 # Node ID 95e3ddc8c2f03f4a1585433293fc952e69c25868 # Parent dc079231a062e21a4afa935bc981583b8e15107c Fixed newest version detection for Subversion checkouts with external subdirs diff -r dc079231a062 -r 95e3ddc8c2f0 treepkg/subversion.py --- 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):