Mercurial > hg-stable
comparison tests/notcapable @ 14372:be0daa0eeb3e
ui: test plain mode against exceptions
Let ui.plain() accept an optional parameter in the form of a feature
name (as a string) to exclude from plain mode.
The result of ui.plain is now:
- False if HGPLAIN is not set or the requested feature is in HGPLAINEXCEPT
- True otherwise
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
author | "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
---|---|
date | Tue, 17 May 2011 00:08:51 +0200 |
parents | b69471bdb678 |
children | 9ff996ba00b4 |
comparison
equal
deleted
inserted
replaced
14371:ec2aae8b375d | 14372:be0daa0eeb3e |
---|