view tests/test-requires.t @ 14424:4eb88d296f63

record: check patch name is valid before prompting in qrecord
author Idan Kamara <idankk86@gmail.com>
date Tue, 24 May 2011 19:17:02 +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]