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

Re: Disable Log Messages

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-11-27 05:01:15 CET

On Nov 26, 2007 8:01 PM, Srilakshmanan, Lakshman
<lakshman.srilakshmanan@police.vic.gov.au> wrote:
> Hi Greg,
>
> To disable the log messages, comment the 'svnlook log -t' and associated
> condition in your pre-commit script.
>
> Thanks
> Lakshman
>
> -----Original Message-----
> From: Greg Freeman [mailto:greg@imagize.com.au]
> Sent: Tuesday, 27 November 2007 12:41 PM
> To: users@subversion.tigris.org
> Subject: Disable Log Messages
>
> Hello,
>
> I am using SVN for personal use. Is it possible to disable the log
> messages so I do not have to enter messages when committing etc?
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
> ================================================================================================
> EMAIL DISCLAIMER
>
> This email and any attachments are confidential. They may also be subject to copyright.
>
> If you are not an intended recipient of this email please immediately contact us by replying
> to this email and then delete this email.
>
> You must not read, use, copy, retain, forward or disclose this email or any attachment.
>
> We do not accept any liability arising from or in connection with unauthorised use or disclosure
> of the information contained in this email or any attachment.
>
> We make reasonable efforts to protect against computer viruses but we do not accept liability
> for any liability, loss or damage caused by any computer virus contained in this email.
> ================================================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

I don't think this is exactly what he meant, your solution assumes
that he set up a pre-commit hook to check for blank log messages,
which he wouldn't do if he didn't care about log messages. It
certainly doesn't happen by default.

Greg, I think the best and easiest way to "disable" log messages is
just to add ' -m "" ' to your svn commit command. '-m' tells the svn
client to use the string you provide as the log message and the ""
string is nothing! Of course, this assumes that you are using the svn
command-line client for your work. If you are using any of the GUI
clients you'll probably just have to click through the log message
prompt or type in some dummy message like "a".

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 27 05:01:38 2007

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

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