view tests/test-requires.t @ 13062:e1002cf9fe54 stable

parsedate: abort on negative dates (issue2513) catches "hg commit -d '-7654321 3600'" (example)
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 24 Nov 2010 19:31:43 +0100
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]