[Bug 5230] New: pager does not work with shell alias
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat May 7 11:18:47 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5230
Bug ID: 5230
Summary: pager does not work with shell alias
Product: Mercurial
Version: default branch
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: pager
Assignee: bugzilla at selenic.com
Reporter: arcppzju+hgbug at gmail.com
CC: mercurial-devel at selenic.com
dispatch.py will skip extension.loadall() for shell aliases so pager won't work
for shell aliases:
Repro:
cat > hgrc <<'!'
[alias]
a = !echo A
[extensions]
pager =
[pager]
pager = sed 's/^/P/'
attend = a
!
HGRCPATH=hgrc hg a
Expected:
PA
Actual:
A
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list