##// END OF EJS Templates
test-fncache: test reserved / long paths...
Adrian Buehlmann -
r17710:95d29533 default
parent child Browse files
Show More
@@ -117,3 +117,43 b' Non fncache repo:'
117 .hg/undo.dirstate
117 .hg/undo.dirstate
118 $ cd ..
118 $ cd ..
119
119
120 #if no-windows
121
122 Encoding of reserved / long paths in the store
123
124 $ hg init r2
125 $ cd r2
126 $ cat <<EOF > .hg/hgrc
127 > [ui]
128 > portablefilenames = ignore
129 > EOF
130
131 $ DIR="bla.aux/prn/PRN/lpt/com3/nul/coma/foo.NUL"
132 $ mkdir -p "$DIR"
133 $ echo foo > "$DIR/normal.c"
134 $ DIR="AUX/SECOND/X.PRN/FOURTH/FI:FTH/SIXTH/SEVENTH/EIGHTH/NINETH/TENTH/ELEVENTH"
135 $ mkdir -p "$DIR"
136 $ echo foo > "$DIR/LOREMIPSUM.TXT"
137 $ DIR="enterprise/openesbaddons/contrib-imola/corba-bc/netbeansplugin/wsdlExtension/src/main/java/META-INF/services"
138 $ mkdir -p "$DIR"
139 $ echo foo > "$DIR/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider"
140 $ DIR="Project Planning/Resources/AnotherLongDirectoryName/Followedbyanother/AndAnother"
141 $ mkdir -p "$DIR"
142 $ echo foo > "$DIR/AndThenAnExtremelyLongFileName.txt"
143 $ DIR="12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345"
144 $ mkdir -p "$DIR"
145 $ echo foo > "$DIR/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12345-ABCDEFGHIJKLMNOPRSTUVWXYZ-abcdefghjiklmnopqrstuvwxyz"
146 $ hg ci -qAm1
147 $ find .hg/store -name *.i | sort
148 .hg/store/00changelog.i
149 .hg/store/00manifest.i
150 .hg/store/data/bla.aux/pr~6e/_p_r_n/lpt/co~6d3/nu~6c/coma/foo._n_u_l/normal.c.i
151 .hg/store/dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxx168e07b38e65eff86ab579afaaa8e30bfbe0f35f.i
152 .hg/store/dh/au~78/second/x.prn/fourth/fi~3afth/sixth/seventh/eighth/nineth/tenth/loremia20419e358ddff1bf8751e38288aff1d7c32ec05.i
153 .hg/store/dh/enterpri/openesba/contrib-/corba-bc/netbeans/wsdlexte/src/main/java/org.net7018f27961fdf338a598a40c4683429e7ffb9743.i
154 .hg/store/dh/project_/resource/anotherl/followed/andanoth/andthenanextremelylongfilename0d8e1f4187c650e2f1fdca9fd90f786bc0976b6b.i
155
156 $ cd ..
157
158 #endif
159
General Comments 0
You need to be logged in to leave comments. Login now