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

Re: vi-script to generate a log-msg from a patch

From: <kfogel_at_collab.net>
Date: 2004-11-08 16:01:08 CET

"Ph. Marek" <philipp.marek@bmlv.gv.at> writes:

> Usage is as follows:
> diff -urp subversion.orig subversion.mine > patch
> (the -p tells diff to output the function names)
> vi patch
> :source diff_to_logmsg.vim
> and voila! Just the documentation has to be written :-)
>
> Maybe that script can be included in tools/dev along with svn-dev.vim.

What is the comment character in vim scripts? I'd like to include
your documentation inside the script itself.

-Karl

> :0
> insert
> [[[
>
>
> ]]]
> .
> :g/^\(---\|@@\)/normal ""yygg/]]]kk""p
>
> :0
>
> :1;/]]]/ s#--- \([^\t ]\+\).\+#\r* \1#
> :1;/]]]/ s#@@ .\+ @@ .*\<\(\w\+\) *(.*# (\1) #
> :1;/]]]/ g#@@ .\+#normal dd
> :1;/]]]/ !uniq
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 8 17:56:13 2004

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.