tests/test-requires.t
author Oleg Stepanov <oleg.stepanov@jetbrains.com>
Wed, 16 Feb 2011 08:56:11 -0800
branchstable
changeset 13437 6169493ac3f9
parent 12346 3b165c127690
child 13956 ffb5c09ba822
permissions -rw-r--r--
Do not allow merging with uncommitted changes in a subrepo

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