tests/test-fncache.t
changeset 17710 95d29533e2ee
parent 15886 a5917346c72e
child 17748 49f759636aaf
equal deleted inserted replaced
17694:fa714f3ed298 17710:95d29533e2ee
   115   .hg/undo.branch
   115   .hg/undo.branch
   116   .hg/undo.desc
   116   .hg/undo.desc
   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