author | Patrick Mezard <pmezard@gmail.com> |
Sat, 19 May 2007 22:47:01 +0200 | |
changeset 4444 | 2d32e3ae01a7 |
parent 4443 | 4e521a3ee5eb |
child 4445 | 30e7aa755efd |
child 4448 | 2d3379c598c1 |
--- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -65,6 +65,8 @@ class dirstate(object): syntaxes = {'re': 'relre:', 'regexp': 'relre:', 'glob': 'relglob:'} def parselines(fp): for line in fp: + if not line.endswith('\n'): + line += '\n' escape = False for i in xrange(len(line)): if escape: escape = False