diff -r fab28a577a38 -r 63ff8fe3a8f0 hgext/convert/common.py --- a/hgext/convert/common.py Fri Dec 02 16:50:48 2011 +0100 +++ b/hgext/convert/common.py Fri Dec 02 21:38:57 2011 -0200 @@ -384,7 +384,7 @@ return for i, line in enumerate(fp): try: - key, value = line.splitlines()[0].rsplit(' ', 1) + key, value = line.splitlines()[0].rstrip().rsplit(' ', 1) except ValueError: raise util.Abort( _('syntax error in %s(%d): key/value pair expected')