[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] pager support for command line client

From: Ben Reser <ben_at_reser.org>
Date: Thu, 06 Feb 2014 15:15:12 -0800

On 2/6/14, 10:39 AM, Branko Čibej wrote:
> Not in general; the pager intercepts stdout, but we prompt to and read
> responses directly from the terminal. Only in extreme cases do we fall back to
> prompting to stderr and reading responses from stdin. All of the above is true
> for Windows, too.
>
> When I rewrote the terminal abstraction for prompting, I tested it by
> redirecting both stdout and stderr to /dev/null; and I still got the prompts in
> the terminal.

I stand corrected, you're right it does work properly in spite of the pager. I
just tried svn blame with the automatic pager functionality enabled and using
less against a server that required authentication (and with --config-dir
/var/empty to force prompting). It worked perfectly.

I still think --non-interactive is not a replacement for --no-pager since in
the same example if I use --non-interactive my command doesn't run (errors out
on authenticatoin).
Received on 2014-02-07 00:15:30 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.