##// END OF EJS Templates
convert: honor 2.3 compatibility (rsplit)
Dirkjan Ochtman -
r7857:6af7c0e5 default
parent child Browse files
Show More
@@ -463,7 +463,7 b' class svn_source(converter_source):'
463 return int(rev.split('@')[-1])
463 return int(rev.split('@')[-1])
464
464
465 def revsplit(self, rev):
465 def revsplit(self, rev):
466 url, revnum = rev.encode(self.encoding).rsplit('@', 1)
466 url, revnum = strutil.rsplit(rev.encode(self.encoding), '@', 1)
467 revnum = int(revnum)
467 revnum = int(revnum)
468 parts = url.split('/', 1)
468 parts = url.split('/', 1)
469 uuid = parts.pop(0)[4:]
469 uuid = parts.pop(0)[4:]
General Comments 0
You need to be logged in to leave comments. Login now