tests/test-largefiles.t
branchstable
changeset 17245 6e84171a61c8
parent 17234 0cfece81e051
child 17268 8c31b652bdfe
equal deleted inserted replaced
17244:483aa765f6c4 17245:6e84171a61c8
   138   large22
   138   large22
   139   $ cat sub/normal4
   139   $ cat sub/normal4
   140   normal22
   140   normal22
   141   $ cat sub/large4
   141   $ cat sub/large4
   142   large22
   142   large22
       
   143 
       
   144 Test copies and moves from a directory other than root (issue3516)
       
   145 
       
   146   $ cd ..
       
   147   $ hg init lf_cpmv
       
   148   $ cd lf_cpmv
       
   149   $ mkdir dira
       
   150   $ mkdir dira/dirb
       
   151   $ touch dira/dirb/largefile
       
   152   $ hg add --large dira/dirb/largefile
       
   153   $ hg commit -m "added"
       
   154   Invoking status precommit hook
       
   155   A dira/dirb/largefile
       
   156   $ cd dira
       
   157   $ hg cp dirb/largefile foo/largefile
       
   158   $ hg ci -m "deep copy"
       
   159   Invoking status precommit hook
       
   160   A dira/foo/largefile
       
   161   $ find . | sort
       
   162   .
       
   163   ./dirb
       
   164   ./dirb/largefile
       
   165   ./foo
       
   166   ./foo/largefile
       
   167   $ hg mv foo/largefile baz/largefile
       
   168   $ hg ci -m "moved"
       
   169   Invoking status precommit hook
       
   170   A dira/baz/largefile
       
   171   R dira/foo/largefile
       
   172   $ find . | sort
       
   173   .
       
   174   ./baz
       
   175   ./baz/largefile
       
   176   ./dirb
       
   177   ./dirb/largefile
       
   178   ./foo
       
   179   $ cd ../../a
   143 
   180 
   144 #if hgweb
   181 #if hgweb
   145 Test display of largefiles in hgweb
   182 Test display of largefiles in hgweb
   146 
   183 
   147   $ hg serve -d -p $HGPORT --pid-file ../hg.pid
   184   $ hg serve -d -p $HGPORT --pid-file ../hg.pid