[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: Sun, 9 Nov 2008 20:40:46 +0200 (Jerusalem Standard Time)

Neels J Hofmeyr wrote on Sun, 9 Nov 2008 at 02:34 +0100:
>
>

(why do you have two empty lines here?)

> Daniel Shahaf wrote:
> > :let @a = ''
> > :g/Index/y A
> > # etc
>
> ... huh?
> * neels tries it out
>
> Oh, I see. I'm not familiar with these commands, so I had to still figure
> out that the result is stored in register 'a'. Just for completeness:
> command "a pastes register 'a'.
>

Yes. ":yank A" appends the line to register 'a' (which might be
non-empty at the start if, e.g., ':help q' was used). Then I can paste
from the register by doing gg"aP and remove the "Index: " prefixes with
some visual block mode work (or :s///, if you like that better). Pretty
fast once you're used to it.

    :help :let-@
    :help :y
    :help blockwise-visual

> But this doesn't show the *function* names affected. That's the real great
> help that I need.
>

For me it's enough to have them in the diff -x-p headers in the other
window and use ^N. :-)

(Having a mini-indent plugin (that saves typing the two spaces in front
of every open paren) helps, too.)

> About contrib/client-side/vim/diff-to-logmsg.vim: I prefer Julian's shell
> script version.
>

Haven't tried it yet; should though. :)

> ~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-09 19:41:15 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.