tests/test-largefiles-misc.t
changeset 45906 95c4cca641f6
parent 45840 527ce85c2e60
child 46915 efc6f6a794bd
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
    21   > [extensions]
    21   > [extensions]
    22   > largefiles=!
    22   > largefiles=!
    23   > EOF
    23   > EOF
    24 
    24 
    25   $ hg config extensions
    25   $ hg config extensions
    26   abort: repository requires features unknown to this Mercurial: largefiles!
    26   abort: repository requires features unknown to this Mercurial: largefiles
    27   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    27   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    28   [255]
    28   [255]
    29 
    29 
    30   $ cat > .hg/hgrc << EOF
    30   $ cat > .hg/hgrc << EOF
    31   > [extensions]
    31   > [extensions]
    40   > largefiles = missing.py
    40   > largefiles = missing.py
    41   > EOF
    41   > EOF
    42 
    42 
    43   $ hg config extensions
    43   $ hg config extensions
    44   \*\*\* failed to import extension largefiles from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob)
    44   \*\*\* failed to import extension largefiles from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob)
    45   abort: repository requires features unknown to this Mercurial: largefiles!
    45   abort: repository requires features unknown to this Mercurial: largefiles
    46   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    46   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    47   [255]
    47   [255]
    48 
    48 
    49   $ cd ..
    49   $ cd ..
    50 
    50 
  1007   > largefiles=
  1007   > largefiles=
  1008   > EOF
  1008   > EOF
  1009   $ hg -R enabledlocally root
  1009   $ hg -R enabledlocally root
  1010   $TESTTMP/individualenabling/enabledlocally
  1010   $TESTTMP/individualenabling/enabledlocally
  1011   $ hg -R notenabledlocally root
  1011   $ hg -R notenabledlocally root
  1012   abort: repository requires features unknown to this Mercurial: largefiles!
  1012   abort: repository requires features unknown to this Mercurial: largefiles
  1013   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  1013   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  1014   [255]
  1014   [255]
  1015 
  1015 
  1016   $ hg init push-dst
  1016   $ hg init push-dst
  1017   $ hg -R enabledlocally push push-dst
  1017   $ hg -R enabledlocally push push-dst
  1024   pulling from enabledlocally
  1024   pulling from enabledlocally
  1025   abort: required features are not supported in the destination: largefiles
  1025   abort: required features are not supported in the destination: largefiles
  1026   [255]
  1026   [255]
  1027 
  1027 
  1028   $ hg clone enabledlocally clone-dst
  1028   $ hg clone enabledlocally clone-dst
  1029   abort: repository requires features unknown to this Mercurial: largefiles!
  1029   abort: repository requires features unknown to this Mercurial: largefiles
  1030   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  1030   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  1031   [255]
  1031   [255]
  1032   $ test -d clone-dst
  1032   $ test -d clone-dst
  1033   [1]
  1033   [1]
  1034   $ hg clone --pull enabledlocally clone-pull-dst
  1034   $ hg clone --pull enabledlocally clone-pull-dst