# HG changeset patch # User Andre Heinecke # Date 1271964302 0 # Node ID c0808837fc642ff7dfe41c933b07da62417f24e8 # Parent 95e3ddc8c2f03f4a1585433293fc952e69c25868 Last changed revision is now again correctly returned as a string diff -r 95e3ddc8c2f0 -r c0808837fc64 treepkg/subversion.py --- a/treepkg/subversion.py Thu Apr 22 13:05:19 2010 +0000 +++ b/treepkg/subversion.py Thu Apr 22 19:25:02 2010 +0000 @@ -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