tests/test-requires.t
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 20 Jun 2012 16:22:58 +0200
changeset 16987 54295c87eefc
parent 16913 f2719b387380
child 19778 55ef79031009
permissions -rw-r--r--
mq: abort if no files or revisions are specified for qimport

  $ 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]

  $ cd ..