While adding support for unhiding revs for commands which are not just read
only, a need for showing custom messages for different command is found. This
patch adds a new optional argument to unhidehashlikerevs() function which if
passed will be the warning message displayed to user provided the function is
called in "warn" mode.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/scmutil.py | ||
---|---|---|
1350 | _() must wrap a string literal. FWIW, hiddentype == 'warn' might not be that useful. See the |
_() must wrap a string literal.
FWIW, hiddentype == 'warn' might not be that useful. See the
comment on the next patch.