tests/test-requires.t
branchstable
changeset 21160 564f55b25122
parent 20820 f8e531a3a77c
child 26421 4b0fc75f9403
equal deleted inserted replaced
21028:a0f437e2f5a9 21160:564f55b25122
     7   $ hg tip
     7   $ hg tip
     8   abort: index 00changelog.i unknown format 2!
     8   abort: index 00changelog.i unknown format 2!
     9   [255]
     9   [255]
    10   $ echo indoor-pool > .hg/requires
    10   $ echo indoor-pool > .hg/requires
    11   $ hg tip
    11   $ hg tip
    12   abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)!
    12   abort: repository requires features unknown to this Mercurial: indoor-pool!
       
    13   (see http://mercurial.selenic.com/wiki/MissingRequirement for more information)
    13   [255]
    14   [255]
    14   $ echo outdoor-pool >> .hg/requires
    15   $ echo outdoor-pool >> .hg/requires
    15   $ hg tip
    16   $ hg tip
    16   abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)!
    17   abort: repository requires features unknown to this Mercurial: indoor-pool outdoor-pool!
       
    18   (see http://mercurial.selenic.com/wiki/MissingRequirement for more information)
    17   [255]
    19   [255]
    18   $ cd ..
    20   $ cd ..
    19 
    21 
    20 Test checking between features supported locally and ones required in
    22 Test checking between features supported locally and ones required in
    21 another repository of push/pull/clone on localhost:
    23 another repository of push/pull/clone on localhost:
    58   pulling from supported
    60   pulling from supported
    59   abort: required features are not supported in the destination: featuresetup-test
    61   abort: required features are not supported in the destination: featuresetup-test
    60   [255]
    62   [255]
    61 
    63 
    62   $ hg clone supported clone-dst
    64   $ hg clone supported clone-dst
    63   abort: unknown repository format: requires features 'featuresetup-test' (upgrade Mercurial)!
    65   abort: repository requires features unknown to this Mercurial: featuresetup-test!
       
    66   (see http://mercurial.selenic.com/wiki/MissingRequirement for more information)
    64   [255]
    67   [255]
    65   $ hg clone --pull supported clone-dst
    68   $ hg clone --pull supported clone-dst
    66   abort: required features are not supported in the destination: featuresetup-test
    69   abort: required features are not supported in the destination: featuresetup-test
    67   [255]
    70   [255]
    68 
    71