Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
20712:c152e538b85b | 20715:b93791e0de25 |
---|---|
733 missings.append(r) | 733 missings.append(r) |
734 missings.sort() | 734 missings.sort() |
735 if missings: | 735 if missings: |
736 raise error.RequirementError( | 736 raise error.RequirementError( |
737 _("unknown repository format: requires features '%s' (upgrade " | 737 _("unknown repository format: requires features '%s' (upgrade " |
738 "Mercurial)") % "', '".join(missings)) | 738 "Mercurial)") % "', '".join(missings), |
739 hint=_("see http://mercurial.selenic.com/wiki/MissingRequirement" | |
740 " for details")) | |
739 return requirements | 741 return requirements |
740 | 742 |
741 class filecachesubentry(object): | 743 class filecachesubentry(object): |
742 def __init__(self, path, stat): | 744 def __init__(self, path, stat): |
743 self.path = path | 745 self.path = path |