On Wed, Sep 19, 2001 at 10:17:55AM -0500, Mike Pilato wrote:
> I'm updating the Apache2, APR, APR-util, and SVN codebases on
> svn.collab.net to their respective HEADs. All this just so I can put
> a log message on my friggin' accidental commit...grrrr...
Try this, for peace of mind :)
Index: subversion/clients/cmdline/commit-cmd.c
===================================================================
--- subversion/clients/cmdline/SVN/text-base/commit-cmd.c Tue Sep 18 17:09:23 2001
+++ subversion/clients/cmdline/commit-cmd.c Wed Sep 19 16:21:17 2001
@@ -55,6 +55,12 @@
else
message = opt_state->message;
+ if (message == NULL)
+ {
+ return svn_error_create (APR_EGENERAL, 0, NULL, pool,
+ "I can't let you do that, Dave.");
+ }
+
targets = svn_cl__args_to_target_array (os, pool);
/* Build an authentication object to give to libsvn_client. */
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006