hgext/convert/subversion.py
changeset 7857 6af7c0e5908c
parent 7852 a8dccbed54ef
child 7874 d812029cda85
child 8246 965b11c1bd82
--- a/hgext/convert/subversion.py	Tue Mar 17 11:34:40 2009 -0400
+++ b/hgext/convert/subversion.py	Wed Mar 18 17:49:11 2009 +0100
@@ -463,7 +463,7 @@
         return int(rev.split('@')[-1])
 
     def revsplit(self, rev):
-        url, revnum = rev.encode(self.encoding).rsplit('@', 1)
+        url, revnum = strutil.rsplit(rev.encode(self.encoding), '@', 1)
         revnum = int(revnum)
         parts = url.split('/', 1)
         uuid = parts.pop(0)[4:]