Mercurial > public > mercurial-scm > hg-stable
diff mercurial/scmutil.py @ 20715:b93791e0de25
require: provide a link to a wiki page in addition of suggesting upgrade
The wiki page is intended to describe several solution to the requirement issue.
Some of those solutions does not involve upgrading mercurial. That is very
useful for people that can't easily upgrade they Mercurial in some place.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sat, 25 Jun 2011 02:46:23 +0200 |
parents | 2764148aa088 |
children | 8ecfa225bd16 |
line wrap: on
line diff
--- a/mercurial/scmutil.py Tue Mar 11 16:52:15 2014 -0700 +++ b/mercurial/scmutil.py Sat Jun 25 02:46:23 2011 +0200 @@ -735,7 +735,9 @@ if missings: raise error.RequirementError( _("unknown repository format: requires features '%s' (upgrade " - "Mercurial)") % "', '".join(missings)) + "Mercurial)") % "', '".join(missings), + hint=_("see http://mercurial.selenic.com/wiki/MissingRequirement" + " for details")) return requirements class filecachesubentry(object):