tests/test-requires.t
author Luke Plant <L.Plant.98@cantab.net>
Mon, 28 Mar 2011 21:17:32 +0100
changeset 13789 7e5031180c0f
parent 12346 3b165c127690
child 13956 ffb5c09ba822
permissions -rw-r--r--
transplant: fix crash if filter script munges log file This fixes an UnboundLocalError crash if the filter script removes the 'User' or 'Date' lines from the log file.

  $ 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]