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

Re: svnadmin setlog adding newline to commit comment

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Mon, 22 Sep 2008 17:33:31 -0500

On Sep 22, 2008, at 11:03 AM, Robert O'Brien wrote:

> I am the admin for Subversion in our
> company. I have to edit 38 comments here today to use correct issue
> number from Jira. This tool can cross reference the Subversion
> revision number so developers can look at a bug fix and decide if it
> needs to be merged into other branches. We have external developers
> who don't always follow the rules regarding commit comments, so I've
> had to fix them up. I review these every month or so and make the
> changes as needed and send out reminder emails.
>
> Today I used
> svnadmin setlog --bypasshooks
> to
> edit the comments. When I reviewed the batch, all comments had an
> additional newline on the comment. Not a major issue, but an
> unexpected effect.

I'm not sure why this is happening, but a workaround would be for you
to run log-police.py on all revisions of your repository after making
the changes, to normalize the newlines at the end of the log messages
again.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-23 00:33:55 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.