Mercurial > hg
changeset 4515:86a66cce9566
Fixed python2.3 incompatibility (rsplit) in cvs code of convert extension
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 06 Jun 2007 20:17:03 +0200 |
parents | ec889780f28b |
children | 96d8a56d4ef9 |
files | hgext/convert/__init__.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Fri May 25 08:12:33 2007 +0200 +++ b/hgext/convert/__init__.py Wed Jun 06 20:17:03 2007 +0200 @@ -182,7 +182,9 @@ self.changeset[id] = c self.files[id] = files else: - file,rev = l[1:-2].rsplit(':',1) + colon = l.rfind(':') + file = l[1:colon] + rev = l[colon+1:-2] rev = rev.split("->")[1] files[file] = rev