Mercurial > public > mercurial-scm > hg
comparison mercurial/parser.py @ 14103:a36e8c99d51c
color: use ui.formatted() to test TTYness, not sys.stdout.isatty()
This fixes the color extension not working with pager (broken in
877390020477). The pager extension already sets ui.formatted=True to
allow this use case.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Sun, 01 May 2011 12:14:22 +0200 |
parents | e798e430c5e5 |
children | 4b93bd041772 |
comparison
equal
deleted
inserted
replaced
14102:7f45b1911893 | 14103:a36e8c99d51c |
---|