# HG changeset patch # User Dirkjan Ochtman # Date 1237394988 -3600 # Node ID d24b367efab94495bb6c4c51bd50771fb34ff511 # Parent 166b6b12df44819a48f094d2b1699f781dec889c# Parent 6af7c0e5908c55e1fd25d45b5f5ef2c065ad5902 merge with crew-stable diff -r 166b6b12df44 -r d24b367efab9 hgext/convert/subversion.py --- a/hgext/convert/subversion.py Tue Mar 17 13:46:53 2009 -0500 +++ b/hgext/convert/subversion.py Wed Mar 18 17:49:48 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:]