tests/test-requires.t
author Matt Mackall <mpm@selenic.com>
Thu, 11 Jul 2013 19:28:01 -0500
changeset 19400 61c93ef8302e
parent 16913 f2719b387380
child 19778 55ef79031009
permissions -rw-r--r--
cat: remove incorrect reference to tip

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