Show More
@@ -65,6 +65,8 b' class dirstate(object):' | |||||
65 | syntaxes = {'re': 'relre:', 'regexp': 'relre:', 'glob': 'relglob:'} |
|
65 | syntaxes = {'re': 'relre:', 'regexp': 'relre:', 'glob': 'relglob:'} | |
66 | def parselines(fp): |
|
66 | def parselines(fp): | |
67 | for line in fp: |
|
67 | for line in fp: | |
|
68 | if not line.endswith('\n'): | |||
|
69 | line += '\n' | |||
68 | escape = False |
|
70 | escape = False | |
69 | for i in xrange(len(line)): |
|
71 | for i in xrange(len(line)): | |
70 | if escape: escape = False |
|
72 | if escape: escape = False |
General Comments 0
You need to be logged in to leave comments.
Login now