Show More
@@ -53,6 +53,12 b" hg ci -m 3 -d '0 0'" | |||
|
53 | 53 | hg grep orange |
|
54 | 54 | hg grep --all orange |
|
55 | 55 | |
|
56 | echo % match in last "line" without newline | |
|
57 | python -c 'fp = open("noeol", "wb"); fp.write("no infinite loop"); fp.close();' | |
|
58 | hg ci -Amnoeol | |
|
59 | echo % last character omitted in output to avoid infinite loop | |
|
60 | hg grep loop | |
|
61 | ||
|
56 | 62 | # Got a traceback when using grep on a single |
|
57 | 63 | # revision with renamed files. |
|
58 | 64 | cd .. |
@@ -66,3 +72,4 b' hg ci -Am rename' | |||
|
66 | 72 | hg grep octarine |
|
67 | 73 | # Used to crash here |
|
68 | 74 | hg grep -r 1 octarine |
|
75 |
@@ -32,6 +32,10 b' color:3:orange' | |||
|
32 | 32 | color:3:+:orange |
|
33 | 33 | color:2:-:orange |
|
34 | 34 | color:1:+:orange |
|
35 | % match in last line without newline | |
|
36 | adding noeol | |
|
37 | % last character omitted in output to avoid infinite loop | |
|
38 | noeol:4:no infinite loo | |
|
35 | 39 | % issue 685 |
|
36 | 40 | adding color |
|
37 | 41 | color:0:octarine |
General Comments 0
You need to be logged in to leave comments.
Login now