tests/test-requires.t
changeset 45906 95c4cca641f6
parent 45107 4a28f5e8408e
child 46116 17a695357270
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
     3   $ echo a > a
     3   $ echo a > a
     4   $ hg add a
     4   $ hg add a
     5   $ hg commit -m test
     5   $ hg commit -m test
     6   $ rm .hg/requires
     6   $ rm .hg/requires
     7   $ hg tip
     7   $ hg tip
     8   abort: unknown version (2) in revlog 00changelog.i!
     8   abort: unknown version (2) in revlog 00changelog.i
     9   [255]
     9   [255]
    10   $ echo indoor-pool > .hg/requires
    10   $ echo indoor-pool > .hg/requires
    11   $ hg tip
    11   $ hg tip
    12   abort: repository requires features unknown to this Mercurial: indoor-pool!
    12   abort: repository requires features unknown to this Mercurial: indoor-pool
    13   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    13   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    14   [255]
    14   [255]
    15   $ echo outdoor-pool >> .hg/requires
    15   $ echo outdoor-pool >> .hg/requires
    16   $ hg tip
    16   $ hg tip
    17   abort: repository requires features unknown to this Mercurial: indoor-pool outdoor-pool!
    17   abort: repository requires features unknown to this Mercurial: indoor-pool outdoor-pool
    18   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    18   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    19   [255]
    19   [255]
    20   $ cd ..
    20   $ cd ..
    21 
    21 
    22 Test checking between features supported locally and ones required in
    22 Test checking between features supported locally and ones required in
    69   pulling from supported
    69   pulling from supported
    70   abort: required features are not supported in the destination: featuresetup-test
    70   abort: required features are not supported in the destination: featuresetup-test
    71   [255]
    71   [255]
    72 
    72 
    73   $ hg clone supported clone-dst
    73   $ hg clone supported clone-dst
    74   abort: repository requires features unknown to this Mercurial: featuresetup-test!
    74   abort: repository requires features unknown to this Mercurial: featuresetup-test
    75   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    75   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
    76   [255]
    76   [255]
    77   $ hg clone --pull supported clone-dst
    77   $ hg clone --pull supported clone-dst
    78   abort: required features are not supported in the destination: featuresetup-test
    78   abort: required features are not supported in the destination: featuresetup-test
    79   [255]
    79   [255]