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

Re: 'svn log --diff' foils log output parsers

From: Peter Samuelson <peter_at_p12n.org>
Date: Thu, 23 Jun 2011 16:21:20 -0500

[C. Michael Pilato]
> - spool the diff, count the lines in it, and provide that count in
> some fashion
> - indent the diff by a single column
> - wrap the whole diff in some start/end markers ("[[[" and "]]]", e.g.)

I like the last option, except that I'd use "\n" as the end marker, and
no start marker. Many people won't even notice the extra blank line.

Come to think of it, this is what we already do for the non --diff
case: append \n before the separator. (Presumably to account for
svn:log text that does not already end in a newline.) So this isn't
even a new idea.

Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2011-06-23 23:22:05 CEST

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.