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 2013/07/08 18:17:09 UTC
svn commit: r1500818 - /subversion/trunk/subversion/svnauth/svnauth.c
Author: stsp
Date: Mon Jul 8 16:17:09 2013
New Revision: 1500818
URL: http://svn.apache.org/r1500818
Log:
* subversion/svnauth/svnauth.c
(list_credentials): Print a separator line between credentials, like svn log.
Modified:
subversion/trunk/subversion/svnauth/svnauth.c
Modified: subversion/trunk/subversion/svnauth/svnauth.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnauth/svnauth.c?rev=1500818&r1=1500817&r2=1500818&view=diff
==============================================================================
--- subversion/trunk/subversion/svnauth/svnauth.c (original)
+++ subversion/trunk/subversion/svnauth/svnauth.c Mon Jul 8 16:17:09 2013
@@ -150,6 +150,10 @@ subcommand_help(apr_getopt_t *os, void *
return SVN_NO_ERROR;
}
+/* The separator between credentials . */
+#define SEP_STRING \
+ "------------------------------------------------------------------------\n"
+
/* This implements `svn_config_auth_walk_func_t` */
static svn_error_t *
list_credentials(svn_boolean_t *delete_cred,
@@ -164,6 +168,7 @@ list_credentials(svn_boolean_t *delete_c
*delete_cred = FALSE;
+ SVN_ERR(svn_cmdline_printf(scratch_pool, SEP_STRING));
SVN_ERR(svn_cmdline_printf(scratch_pool,
_("Credential kind: %s\n"), cred_kind));
SVN_ERR(svn_cmdline_printf(scratch_pool,