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

Re: Diffs into default log template

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-14 16:23:25 CEST

Chris Pepper wrote:
> This is neat, but since I'm working with docs instead of functions,
> svnlog doesn't seem to get me anything more than "svn diff | bbedit",
> which I've been using. I'd like something to dump it into the log
> template, to save me a step.
> I think what I really want would be a second loop in util.c, after
> the list of files with status has been generated. If a (new) flag was
> set, svn would loop across the files to be committed again, appending a
> diff for each one on this round. It would be cleaned out of the actual
> log message automatically, same as the current list of files is ignored.
> Would anyone else find this useful??

I'm sure some people would find it of some utility, but the trouble is
that the more "svn" tries to write your log message for you, the less
people it will satisfy - either that, or it grows lots of options and
configurability and becomes a generic log message writer trying to suit

I don't think that Subversion should head in that direction. (I don't
even think it should invoke an editor for you, but I seem to be in the
minority there.) I recommend writing an external log-message-generator
that suits your purposes, and put its name in the SVN_EDITOR environment
variable so that Subversion calls it instead of a plain editor.

If the log message utility that you write is neat and tidy and useful to
lots of people, we could then include it as a tool in the Subversion

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 14 16:21:32 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.