You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2015/11/18 14:24:45 UTC

svn commit: r1714993 - /subversion/trunk/tools/dev/svnmover/svnmover.c

Author: julianfoad
Date: Wed Nov 18 13:24:45 2015
New Revision: 1714993

URL: http://svn.apache.org/viewvc?rev=1714993&view=rev
Log:
In 'svnmover', change the default to non-coloured output, as coloured
output can be annoying when not wanted whereas plain text is a 'safe'
and familiar default setting.

Suggested by: philipm

* tools/dev/svnmover/svnmover.c
  (usage): Change the help text.
  (sub_main): Change the default to 'never'.

Modified:
    subversion/trunk/tools/dev/svnmover/svnmover.c

Modified: subversion/trunk/tools/dev/svnmover/svnmover.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/svnmover/svnmover.c?rev=1714993&r1=1714992&r2=1714993&view=diff
==============================================================================
--- subversion/trunk/tools/dev/svnmover/svnmover.c (original)
+++ subversion/trunk/tools/dev/svnmover/svnmover.c Wed Nov 18 13:24:45 2015
@@ -3233,8 +3233,8 @@ usage(FILE *stream, apr_pool_t *pool)
       "Valid options:\n"
       "  --ui={eids|e|paths|p}  : display information as elements or as paths\n"
       "  --colo[u]r={always|never|auto}\n"
-      "                         : use coloured output; 'auto' (the default)\n"
-      "                           means when standard output goes to a terminal\n"
+      "                         : use coloured output; 'auto' means when standard\n"
+      "                           output goes to a terminal; default: never\n"
       "  -h, -? [--help]        : display this text\n"
       "  -v [--verbose]         : display debugging messages\n"
       "  -q [--quiet]           : suppress notifications\n"
@@ -3625,7 +3625,7 @@ sub_main(int *exit_code, int argc, const
   svn_config_t *cfg_config;
   svn_client_ctx_t *ctx;
   const char *log_msg;
-  svn_tristate_t coloured_output = svn_tristate_unknown;
+  svn_tristate_t coloured_output = svn_tristate_false;
   svnmover_wc_t *wc;
 
   /* Check library versions */