[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-11-09 13:05:05 CET

Ph. Marek wrote:
> " diff-to-log-message.vim by Ph. Marek
> "
> " Usage is as follows:
> " diff -urp subversion.orig subversion.mine > patch
> " or
> " svn diff --diff-cmd=diff --extension="-up" [TARGET...] > patch

--extensions

> "
> " (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.
> "
> " Note from Julian Foad:
> " It ought to be noted that the generated list of funtion names
> " is only as accurate as the output of "diff -p", which is not very
> " accurate - e.g. for changes to a doc string appearing before a
> " function, it generally outputs the name of the _previous_ function.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 9 13:05:51 2004

This is an archived mail posted to the Subversion Dev mailing list.