Show More
@@ -2,7 +2,7 b'' | |||
|
2 | 2 | import base64, errno |
|
3 | 3 | import os |
|
4 | 4 | import cPickle as pickle |
|
5 | from mercurial import util | |
|
5 | from mercurial import util, strutil | |
|
6 | 6 | from mercurial.i18n import _ |
|
7 | 7 | |
|
8 | 8 | def encodeargs(args): |
@@ -334,7 +334,7 b' class mapfile(dict):' | |||
|
334 | 334 | raise |
|
335 | 335 | return |
|
336 | 336 | for line in fp: |
|
337 |
key, value = line[:-1] |
|
|
337 | key, value = strutil.rsplit(line[:-1], ' ', 1) | |
|
338 | 338 | if key not in self: |
|
339 | 339 | self.order.append(key) |
|
340 | 340 | super(mapfile, self).__setitem__(key, value) |
General Comments 0
You need to be logged in to leave comments.
Login now