Mercurial > treepkg > treepkg
diff treepkg/subversion.py @ 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 | e2d04687aa5a |
children | 95e3ddc8c2f0 |
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"""