You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/02/06 01:22:09 UTC

svn commit: r1565017 - /subversion/branches/automatic-pager/subversion/svn/log-cmd.c

Author: stsp
Date: Thu Feb  6 00:22:08 2014
New Revision: 1565017

URL: http://svn.apache.org/r1565017
Log:
On the automatic-pager branch, enable the pager for 'svn log'.

* subversion/svn/log-cmd.c
  (svn_cl__log): Enable the pager in normal (non-XML) output mode.

Modified:
    subversion/branches/automatic-pager/subversion/svn/log-cmd.c

Modified: subversion/branches/automatic-pager/subversion/svn/log-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/automatic-pager/subversion/svn/log-cmd.c?rev=1565017&r1=1565016&r2=1565017&view=diff
==============================================================================
--- subversion/branches/automatic-pager/subversion/svn/log-cmd.c (original)
+++ subversion/branches/automatic-pager/subversion/svn/log-cmd.c Thu Feb  6 00:22:08 2014
@@ -852,6 +852,8 @@ svn_cl__log(apr_getopt_t *os,
     }
   else  /* default output format */
     {
+      if (!opt_state->non_interactive)
+        SVN_ERR(svn_cmdline_start_pager(pool, pool));
       revprops = apr_array_make(pool, 3, sizeof(char *));
       APR_ARRAY_PUSH(revprops, const char *) = SVN_PROP_REVISION_AUTHOR;
       APR_ARRAY_PUSH(revprops, const char *) = SVN_PROP_REVISION_DATE;