view hgext/__init__.py @ 1191:583f7f03434b stable

init: don't abort Mercurial on version mismatch Evolve causes Mercurial to exit if there is a version mismatch, even if no evolve command is invoked. This is a headache for people who have to work with multiple versions of Mercurial. Instead, raise an ImportError, which gives a warning but otherwise allows Mercurial to run non-evolve commands.
author Matt Mackall <mpm@selenic.com>
date Tue, 23 Dec 2014 14:29:16 -0600
parents 9825c7da5b54
children 5ef77a1d975c
line wrap: on
line source

# Copyright 2011 Logilab SA <contact@logilab.fr>