tests/test-lfs-serve.t
changeset 45906 95c4cca641f6
parent 45671 2d6aea053153
child 46035 6c960b708ac4
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
   280   $ grep 'lfs' .hg/requires $SERVER_REQUIRES
   280   $ grep 'lfs' .hg/requires $SERVER_REQUIRES
   281   $TESTTMP/server/.hg/requires:lfs
   281   $TESTTMP/server/.hg/requires:lfs
   282 
   282 
   283   $ hg clone http://localhost:$HGPORT $TESTTMP/client4_clone
   283   $ hg clone http://localhost:$HGPORT $TESTTMP/client4_clone
   284   (remote is using large file support (lfs), but it is explicitly disabled in the local configuration)
   284   (remote is using large file support (lfs), but it is explicitly disabled in the local configuration)
   285   abort: repository requires features unknown to this Mercurial: lfs!
   285   abort: repository requires features unknown to this Mercurial: lfs
   286   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   286   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   287   [255]
   287   [255]
   288   $ grep 'lfs' $TESTTMP/client4_clone/.hg/requires $SERVER_REQUIRES
   288   $ grep 'lfs' $TESTTMP/client4_clone/.hg/requires $SERVER_REQUIRES
   289   grep: $TESTTMP/client4_clone/.hg/requires: $ENOENT$
   289   grep: $TESTTMP/client4_clone/.hg/requires: $ENOENT$
   290   $TESTTMP/server/.hg/requires:lfs
   290   $TESTTMP/server/.hg/requires:lfs
   508 
   508 
   509 --------------------------------------------------------------------------------
   509 --------------------------------------------------------------------------------
   510 Misc: process dies early if a requirement exists and the extension is disabled
   510 Misc: process dies early if a requirement exists and the extension is disabled
   511 
   511 
   512   $ hg --config extensions.lfs=! summary
   512   $ hg --config extensions.lfs=! summary
   513   abort: repository requires features unknown to this Mercurial: lfs!
   513   abort: repository requires features unknown to this Mercurial: lfs
   514   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   514   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   515   [255]
   515   [255]
   516 
   516 
   517   $ echo 'this is an lfs file' > $TESTTMP/client6_clone/lfspair1.bin
   517   $ echo 'this is an lfs file' > $TESTTMP/client6_clone/lfspair1.bin
   518   $ echo 'this is an lfs file too' > $TESTTMP/client6_clone/lfspair2.bin
   518   $ echo 'this is an lfs file too' > $TESTTMP/client6_clone/lfspair2.bin