repo: rephrase the "missing requirement" error message
Unknown requirements will now be reported as: abort: repository requires features unknown to this Mercurial: largefiles! (see http://mercurial.selenic.com/wiki/MissingRequirement for more information) Some features of this phrasing: * avoid double ':' in abort message * make it more clear who requires and knows what * don't quote the requirement names - it is not something the user entered or need the exact spelling of ... and it is "identifiers" that are unambiguous anyway * remove double hint by removing "(upgrade Mercurial)" comment * don't mention upgrading Mercurial without mentioning enabling the feature - instead, just refer to wiki page for both * don't just talk about "details", talk about "more information"
Showing
- mercurial/scmutil.py 3 additions, 3 deletionsmercurial/scmutil.py
- tests/test-commit.t 2 additions, 2 deletionstests/test-commit.t
- tests/test-identify.t 4 additions, 4 deletionstests/test-identify.t
- tests/test-largefiles.t 4 additions, 4 deletionstests/test-largefiles.t
- tests/test-requires.t 6 additions, 6 deletionstests/test-requires.t
Loading
Please register or sign in to comment