view tests/test-requires.t @ 13726:378522bdc059

wireproto: avoid naked excepts
author Matt Mackall <mpm@selenic.com>
date Tue, 22 Mar 2011 21:26:19 -0500
parents 3b165c127690
children ffb5c09ba822
line wrap: on
line source

  $ mkdir t
  $ cd t
  $ hg init
  $ 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]