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

Re: Prevent accidental commits

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 12 Jun 2008 02:58:13 -0500

On Jun 11, 2008, at 20:41, Jeenu V wrote:

> I used to do it. I later abandoned this, ever since I started noticing
> an empty line after the last line in my commit log -- which I didn't
> want. I couldn't remove it by any means. It seemed like the SVN
> removes whatever follows, and including the line "-- This line and
> blah blah...."; but he CR/LF of the line above lingers.

For this issue, you should probably install the log-police.py hook
script:

http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/log-police.py

It can ensure that each log message ends with one and only one newline.

We just installed that hook script for the MacPorts repository so I
wrote it up for our admin here; maybe this will help you too:

http://trac.macports.org/ticket/15069

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 09:58:40 CEST

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.