tests/test-requires.t
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Sun, 08 Jan 2012 15:23:26 +0100
changeset 15797 c7a8164c61ab
parent 14746 72e4fcb43227
child 16913 f2719b387380
permissions -rw-r--r--
canonpath: allow canonicalization of non-existant paths Such as a copy destination; see the added test.

  $ hg init t
  $ cd t
  $ echo a > a
  $ hg add a
  $ hg commit -m test
  $ rm .hg/requires
  $ hg tip
  abort: index 00changelog.i unknown format 2!
  [255]
  $ echo indoor-pool > .hg/requires
  $ hg tip
  abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)!
  [255]
  $ echo outdoor-pool >> .hg/requires
  $ hg tip
  abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)!
  [255]