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

Re: Diffs in log messages [was: svn commit: propchange - r34067 - svn:log]

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 7 Nov 2008 09:48:27 +0200 (Jerusalem Standard Time)

Neels J. Hofmeyr wrote on Fri, 7 Nov 2008 at 00:09 +0100:
> Julian Foad wrote:
> > On Wed, 2008-11-05 at 12:10 -0800, Greg Stein wrote:
> >> Seriously... are we going to have to install a pre-commit hook to fail
> >> if people keep inserting diffs into the log message?
> >
> > Maybe it's only me that keeps inserting diffs in the log message. I'll
> > keep an eye open for ways to change my working practices to avoid this,
> > but I can't see it's very likely at this point. At the moment I normally
> > keep patches (with log message and diff) until ready to commit, and then
> > try to remember to delete the diff and use the file as the log message
> > with "svn ci -F/--file FILE".
>
> Hm, I just keep a separate "log" file in each working copy root. It's handy
> for me to have two separate vims open on the diff and the log message, much
> easier copy-pasting of file/function names via Shift-middle-mouse-button.
>
> Has someone actually come up with a script to automatically print a log
> message skeleton with all files and function names in it? Would be nice to
> save us that copy-paste orgy each time we commit.

contrib/client-side/vim/diff-to-logmsg.vim ?

Daniel
(who still uses

    :let @a = ''
    :g/Index/y A
    # etc

to start his log messages.)

>
> ~Neels

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-07 08:48:47 CET

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.