view tests/test-requires.t @ 14530:cd31a1cc1521

extensions: update doc of enabled() and disabled() according to d5b525697ddb
author Yuya Nishihara <yuya@tcha.org>
date Sat, 04 Jun 2011 20:01:01 +0900
parents 973959fbe8ec
children 72e4fcb43227
line wrap: on
line source

  $ 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 feature 'indoor-pool' (upgrade Mercurial)!
  [255]