Michał Górny committed 24e5661

subversion: Cast the revision to an integer type.

Comments (0)

Files changed (1)


 		return self.env['ESVN_REPO_URI'] or VCSSupport.__str__(self)
 	def getsavedrev(self):
-		return self.env['ESVN_WC_REVISION']
+		return int(self.env['ESVN_WC_REVISION'])
 	def getrev(self):
 		svninfo =['svn', '--config-dir', '%s/.subversion' % self.env['ESVN_STORE_DIR'], 'info'],
 				env = {'LC_ALL': 'C'})
 		m =
-		return if m is not None else None
+		return int( if m is not None else None
 	def revcmp(oldrev, newrev):