Show More
@@ -92,7 +92,7 b' Ensure that comments work:' | |||
|
92 | 92 | |
|
93 | 93 | $ touch 'foo#bar' 'quux#' |
|
94 | 94 | #if no-windows |
|
95 | $ touch 'baz\wat' | |
|
95 | $ touch 'baz\wat' 'ba0\#wat' 'ba1\\wat' | |
|
96 | 96 | #endif |
|
97 | 97 | $ cat <<'EOF' >> .hgignore |
|
98 | 98 | > # full-line comment |
@@ -100,6 +100,8 b' Ensure that comments work:' | |||
|
100 | 100 | > syntax# pattern, no whitespace, then comment |
|
101 | 101 | > a.c # pattern, then whitespace, then comment |
|
102 | 102 | > baz\\# # (escaped) backslash, then comment |
|
103 | > ba0\\\#w # (escaped) backslash, escaped comment character, then comment | |
|
104 | > ba1\\\\# # (escaped) backslashes, then comment | |
|
103 | 105 | > foo\#b # escaped comment character |
|
104 | 106 | > quux\## escaped comment character at end of name |
|
105 | 107 | > EOF |
@@ -108,7 +110,7 b' Ensure that comments work:' | |||
|
108 | 110 | ? .hgignore |
|
109 | 111 | $ rm 'foo#bar' 'quux#' |
|
110 | 112 | #if no-windows |
|
111 | $ rm 'baz\wat' | |
|
113 | $ rm 'baz\wat' 'ba0\#wat' 'ba1\\wat' | |
|
112 | 114 | #endif |
|
113 | 115 | |
|
114 | 116 | Check that '^\.' does not ignore the root directory: |
General Comments 0
You need to be logged in to leave comments.
Login now