changeset 333:cbf372f07daa

Fixed revision detection by changing Subversion revision numbers to be handled as strings, too. This is required to work with the changes made for Git support.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 08 Apr 2010 10:16:51 +0000
parents e0e99b71932b
children 4c047e979ff4
files treepkg/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/subversion.py	Wed Mar 17 15:34:43 2010 +0000
+++ b/treepkg/subversion.py	Thu Apr 08 10:16:51 2010 +0000
@@ -78,7 +78,7 @@
     if str_rev is None:
         raise SubversionError("Cannot determine last changed revision for %r"
                               % svn_working_copy)
-    return int(str_rev)
+    return str_rev
 
 def svn_url(url_or_working_copy):
     """Returns the URL used for the working copy in svn_working_copy"""
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)