[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Updating svn.collab.net

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-09-19 21:15:06 CEST

Sander Striker wrote:

>>From: cmpilato@collab.net [mailto:cmpilato@collab.net]
>>Sent: 19 September 2001 17:35
>>Joe Orton <joe@manyfish.co.uk> writes:
>>
>>>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. */
>>>
>>Heh, perhaps wrapped with:
>>
>> if (! strcmp (username, "cmpilato"))
>>
>
>What about an option in /etc/svn.conf or ~/.svnrc which activates
>this?
>
>allow_empty_log_message = no
>
>This is ofcourse a bit too long, but I consider the option usefull.
>

Instead, svn should have the option to disallow /checkout/ without a log
message. But then we'd have to support reserved checkouts. Ah well, my
pet post-1.0 project (another server-side hook, heh).

-- 
Brane �ibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
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:42 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.