##// END OF EJS Templates
test-hgignore: conditionalize an illegal Windows filename
Matt Harbison -
r27381:988367ac default
parent child Browse files
Show More
@@ -57,7 +57,10 b' Should display baz only:'
57
57
58 Ensure that comments work:
58 Ensure that comments work:
59
59
60 $ touch 'foo#bar' 'quux#' 'baz\#wat'
60 $ touch 'foo#bar' 'quux#'
61 #if no-windows
62 $ touch 'baz\#wat'
63 #endif
61 $ cat <<'EOF' >> .hgignore
64 $ cat <<'EOF' >> .hgignore
62 > # full-line comment
65 > # full-line comment
63 > # whitespace-only comment line
66 > # whitespace-only comment line
@@ -70,7 +73,10 b' Ensure that comments work:'
70 $ hg status
73 $ hg status
71 A dir/b.o
74 A dir/b.o
72 ? .hgignore
75 ? .hgignore
73 $ rm 'foo#bar' 'quux#' 'baz\#wat'
76 $ rm 'foo#bar' 'quux#'
77 #if no-windows
78 $ rm 'baz\#wat'
79 #endif
74
80
75 Check it does not ignore the current directory '.':
81 Check it does not ignore the current directory '.':
76
82
General Comments 0
You need to be logged in to leave comments. Login now