view tests/test-requires.t @ 17298:59c14bf5a48c stable

pushkey: do not exchange obsole markers if feature is disabled This apply to both push and pull both when client or server.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sat, 28 Jul 2012 13:33:06 +0200
parents f2719b387380
children 55ef79031009
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: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)!
  [255]
  $ echo outdoor-pool >> .hg/requires
  $ hg tip
  abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)!
  [255]

  $ cd ..