subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1565017 - /subversion/branches/automatic-pager/subversion/svn/log-cmd.c
Date Thu, 06 Feb 2014 00:22:09 GMT
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;



Mime
View raw message