tests/test-lfs-serve.t
changeset 47077 119790e1c67c
parent 46977 3f87d2af0bd6
child 48657 68b7faeb6ef3
equal deleted inserted replaced
47076:08e26ef4ad35 47077:119790e1c67c
   353   ...     runcommand(server, [b'config', b'extensions'])
   353   ...     runcommand(server, [b'config', b'extensions'])
   354   
   354   
   355   # LFS required- both lfs and non-lfs revlogs have 0x2000 flag
   355   # LFS required- both lfs and non-lfs revlogs have 0x2000 flag
   356   *** runcommand debugprocessors lfs.bin -R ../server
   356   *** runcommand debugprocessors lfs.bin -R ../server
   357   registered processor '0x8000'
   357   registered processor '0x8000'
   358   registered processor '0x800'
   358   registered processor '0x1000'
   359   registered processor '0x2000'
   359   registered processor '0x2000'
   360   *** runcommand debugprocessors nonlfs2.txt -R ../server
   360   *** runcommand debugprocessors nonlfs2.txt -R ../server
   361   registered processor '0x8000'
   361   registered processor '0x8000'
   362   registered processor '0x800'
   362   registered processor '0x1000'
   363   registered processor '0x2000'
   363   registered processor '0x2000'
   364   *** runcommand config extensions --cwd ../server
   364   *** runcommand config extensions --cwd ../server
   365   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   365   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   366   extensions.lfs=
   366   extensions.lfs=
   367   
   367   
   368   # LFS not enabled- revlogs don't have 0x2000 flag
   368   # LFS not enabled- revlogs don't have 0x2000 flag
   369   *** runcommand debugprocessors nonlfs3.txt
   369   *** runcommand debugprocessors nonlfs3.txt
   370   registered processor '0x8000'
   370   registered processor '0x8000'
   371   registered processor '0x800'
   371   registered processor '0x1000'
   372   *** runcommand config extensions
   372   *** runcommand config extensions
   373   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   373   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   374 
   374 
   375   $ rm $HGRCPATH
   375   $ rm $HGRCPATH
   376   $ mv $HGRCPATH.tmp $HGRCPATH
   376   $ mv $HGRCPATH.tmp $HGRCPATH
   409   ...                b'../nonlfs'])
   409   ...                b'../nonlfs'])
   410   
   410   
   411   # LFS enabled- both lfs and non-lfs revlogs have 0x2000 flag
   411   # LFS enabled- both lfs and non-lfs revlogs have 0x2000 flag
   412   *** runcommand debugprocessors lfs.bin -R ../server
   412   *** runcommand debugprocessors lfs.bin -R ../server
   413   registered processor '0x8000'
   413   registered processor '0x8000'
   414   registered processor '0x800'
   414   registered processor '0x1000'
   415   registered processor '0x2000'
   415   registered processor '0x2000'
   416   *** runcommand debugprocessors nonlfs2.txt -R ../server
   416   *** runcommand debugprocessors nonlfs2.txt -R ../server
   417   registered processor '0x8000'
   417   registered processor '0x8000'
   418   registered processor '0x800'
   418   registered processor '0x1000'
   419   registered processor '0x2000'
   419   registered processor '0x2000'
   420   *** runcommand config extensions --cwd ../server
   420   *** runcommand config extensions --cwd ../server
   421   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   421   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   422   extensions.lfs=
   422   extensions.lfs=
   423   
   423   
   424   # LFS enabled without requirement- revlogs have 0x2000 flag
   424   # LFS enabled without requirement- revlogs have 0x2000 flag
   425   *** runcommand debugprocessors nonlfs3.txt
   425   *** runcommand debugprocessors nonlfs3.txt
   426   registered processor '0x8000'
   426   registered processor '0x8000'
   427   registered processor '0x800'
   427   registered processor '0x1000'
   428   registered processor '0x2000'
   428   registered processor '0x2000'
   429   *** runcommand config extensions
   429   *** runcommand config extensions
   430   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   430   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   431   extensions.lfs=
   431   extensions.lfs=
   432   
   432   
   433   # LFS disabled locally- revlogs don't have 0x2000 flag
   433   # LFS disabled locally- revlogs don't have 0x2000 flag
   434   *** runcommand debugprocessors nonlfs.txt -R ../nonlfs
   434   *** runcommand debugprocessors nonlfs.txt -R ../nonlfs
   435   registered processor '0x8000'
   435   registered processor '0x8000'
   436   registered processor '0x800'
   436   registered processor '0x1000'
   437   *** runcommand config extensions --cwd ../nonlfs
   437   *** runcommand config extensions --cwd ../nonlfs
   438   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   438   extensions.debugprocessors=$TESTTMP/debugprocessors.py
   439   extensions.lfs=!
   439   extensions.lfs=!
   440 
   440 
   441 --------------------------------------------------------------------------------
   441 --------------------------------------------------------------------------------