Show More
@@ -2936,7 +2936,7 b' def grep(ui, repo, pattern, *pats, **opt' | |||||
2936 | def matchlines(body): |
|
2936 | def matchlines(body): | |
2937 | begin = 0 |
|
2937 | begin = 0 | |
2938 | linenum = 0 |
|
2938 | linenum = 0 | |
2939 | while True: |
|
2939 | while True and begin < len(body): | |
2940 | match = regexp.search(body, begin) |
|
2940 | match = regexp.search(body, begin) | |
2941 | if not match: |
|
2941 | if not match: | |
2942 | break |
|
2942 | break |
General Comments 0
You need to be logged in to leave comments.
Login now