subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1806035 - /subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c
Date Thu, 24 Aug 2017 12:52:18 GMT
Author: julianfoad
Date: Thu Aug 24 12:52:18 2017
New Revision: 1806035

URL: http://svn.apache.org/viewvc?rev=1806035&view=rev
Log:
On the 'shelve-checkpoint3' branch: Tweak some feedback messages.

* subversion/svn/checkpoint3-cmd.c
  (svn_cl__checkpoint): When 'finish' command completes, explain it to the
    user. In the unknown subcommand error case, don't duplicate a hint that
    the global 'svn' wrapper already prints.

Modified:
    subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c

Modified: subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c?rev=1806035&r1=1806034&r2=1806035&view=diff
==============================================================================
--- subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c (original)
+++ subversion/branches/shelve-checkpoint3/subversion/svn/checkpoint3-cmd.c Thu Aug 24 12:52:18
2017
@@ -294,12 +294,14 @@ svn_cl__checkpoint(apr_getopt_t *os,
                                 _("Too many arguments"));
 
       SVN_ERR(svn_client_checkpoint_uninit(local_abspath, ctx, pool));
+      SVN_ERR(svn_cmdline_printf(pool,
+                "your WC is now based on the original repository, with "
+                "all your changes as local modifications\n"));
     }
   else
     {
       return svn_error_createf(SVN_ERR_CL_INSUFFICIENT_ARGS, NULL,
-                               _("checkpoint: Unknown checkpoint command '%s'; "
-                                 "try 'svn help checkpoint'"),
+                               _("checkpoint: Unknown checkpoint command '%s'"),
                                subsubcommand);
     }
 



Mime
View raw message