jsvn: no pager for checkout
This commit is contained in:
parent
a45111b909
commit
3d24ea95ab
4
jsvn
4
jsvn
@ -473,7 +473,9 @@ def main(argv):
|
|||||||
using_color = sys.stdout.isatty()
|
using_color = sys.stdout.isatty()
|
||||||
if sys.stdout.isatty():
|
if sys.stdout.isatty():
|
||||||
if not (len(argv) >= 1 and argv[0] in
|
if not (len(argv) >= 1 and argv[0] in
|
||||||
('commit', 'ci', 'propedit', 'pedit', 'pe')):
|
('checkout', 'co',
|
||||||
|
'commit', 'ci',
|
||||||
|
'propedit', 'pedit', 'pe')):
|
||||||
pager = 'less -FRX'
|
pager = 'less -FRX'
|
||||||
if 'PAGER' in os.environ and os.environ['PAGER'] != '':
|
if 'PAGER' in os.environ and os.environ['PAGER'] != '':
|
||||||
pager = os.environ['PAGER']
|
pager = os.environ['PAGER']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user