view tests/test-requires.t @ 14009:64de9ca66511

check-code: separate warnings to avoid repetitive str.startswith
author Idan Kamara <idankk86@gmail.com>
date Mon, 25 Apr 2011 13:03:26 +0300
parents ffb5c09ba822
children 973959fbe8ec
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: requirement 'indoor-pool' not supported!
  [255]