tests/test-largefiles.t
branchstable
changeset 17232 25248e2ebaee
parent 17231 2446b63c89ec
child 17234 0cfece81e051
equal deleted inserted replaced
17231:2446b63c89ec 17232:25248e2ebaee
   381   $ echo "testing addremove with patterns" > testaddremove.dat
   381   $ echo "testing addremove with patterns" > testaddremove.dat
   382   $ echo "normaladdremove" > normaladdremove
   382   $ echo "normaladdremove" > normaladdremove
   383   $ cd ..
   383   $ cd ..
   384   $ hg -R a addremove
   384   $ hg -R a addremove
   385   removing sub/large4
   385   removing sub/large4
   386   adding a/.hglf/testaddremove.dat as a largefile (glob)
       
   387   adding a/testaddremove.dat as a largefile (glob)
   386   adding a/testaddremove.dat as a largefile (glob)
   388   removing normal3
   387   removing normal3
   389   adding normaladdremove
   388   adding normaladdremove
   390   $ cd a
   389   $ cd a
   391 
   390 
   486   C normal3
   485   C normal3
   487   C sub/large4
   486   C sub/large4
   488   C sub/normal4
   487   C sub/normal4
   489   C sub2/large6
   488   C sub2/large6
   490   C sub2/large7
   489   C sub2/large7
       
   490 
       
   491 Test that a standin can't be added as a large file
       
   492 
       
   493   $ touch large
       
   494   $ hg add --large large
       
   495   $ hg ci -m "add"
       
   496   Invoking status precommit hook
       
   497   A large
       
   498   Invoking status postcommit hook
       
   499   C large
       
   500   C normal
       
   501   C normal3
       
   502   C sub/large4
       
   503   C sub/normal4
       
   504   C sub2/large6
       
   505   C sub2/large7
       
   506   $ hg remove large
       
   507   $ touch large
       
   508   $ hg addremove --config largefiles.patterns=**large --traceback
       
   509   adding large as a largefile
   491 
   510 
   492   $ cd ../a
   511   $ cd ../a
   493 
   512 
   494 Clone a largefiles repo.
   513 Clone a largefiles repo.
   495 
   514