changeset 9528 | 314fc589b313 |
parent 9431 | d1b135f2f415 |
child 9542 | 5287de171d74 |
--- a/hgext/convert/common.py Sun Oct 04 23:06:14 2009 +0200 +++ b/hgext/convert/common.py Mon Oct 05 22:01:08 2009 +0200 @@ -365,7 +365,7 @@ return for i, line in enumerate(fp): try: - key, value = line[:-1].rsplit(' ', 1) + key, value = line.splitlines()[0].rsplit(' ', 1) except ValueError: raise util.Abort(_('syntax error in %s(%d): key/value pair expected') % (self.path, i+1))