Mercurial > hg-stable
diff hgext/convert/common.py @ 7075:6db6f6db026a
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 13:20:40 +0200 |
parents | 0f4564b4cc2c af1117f37fa7 |
children | f77c8d8331ca |
line wrap: on
line diff
--- a/hgext/convert/common.py Thu Oct 09 14:16:17 2008 +0200 +++ b/hgext/convert/common.py Fri Oct 10 13:20:40 2008 +0200 @@ -2,7 +2,7 @@ import base64, errno import os import cPickle as pickle -from mercurial import util +from mercurial import util, strutil from mercurial.i18n import _ def encodeargs(args): @@ -332,7 +332,7 @@ raise return for line in fp: - key, value = line[:-1].split(' ', 1) + key, value = strutil.rsplit(line[:-1], ' ', 1) if key not in self: self.order.append(key) super(mapfile, self).__setitem__(key, value)