[Treepkg-commits] r260 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 8 12:16:51 CEST 2010


Author: aheinecke
Date: 2010-04-08 12:16:51 +0200 (Thu, 08 Apr 2010)
New Revision: 260

Modified:
   trunk/treepkg/subversion.py
Log:
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.



Modified: trunk/treepkg/subversion.py
===================================================================
--- trunk/treepkg/subversion.py	2010-03-24 14:53:11 UTC (rev 259)
+++ trunk/treepkg/subversion.py	2010-04-08 10:16:51 UTC (rev 260)
@@ -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"""



More information about the Treepkg-commits mailing list