##// END OF EJS Templates
hgignore: update \-escape test to reflect actual behavior...
Yuya Nishihara -
r42854:24f0023b default
parent child Browse files
Show More
@@ -92,14 +92,14 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'
96 96 #endif
97 97 $ cat <<'EOF' >> .hgignore
98 98 > # full-line comment
99 99 > # whitespace-only comment line
100 100 > syntax# pattern, no whitespace, then comment
101 101 > a.c # pattern, then whitespace, then comment
102 > baz\\# # escaped comment character
102 > baz\\# # (escaped) backslash, then comment
103 103 > foo\#b # escaped comment character
104 104 > quux\## escaped comment character at end of name
105 105 > EOF
@@ -108,7 +108,7 b' Ensure that comments work:'
108 108 ? .hgignore
109 109 $ rm 'foo#bar' 'quux#'
110 110 #if no-windows
111 $ rm 'baz\#wat'
111 $ rm 'baz\wat'
112 112 #endif
113 113
114 114 Check that '^\.' does not ignore the root directory:
General Comments 0
You need to be logged in to leave comments. Login now