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

Re: feature idea: diff summary on commit

From: Erik Uzureau <euzuro_at_gmail.com>
Date: 2007-04-09 20:17:17 CEST

Exactly what I was looking for. Thanks Wesley!
--E

On 4/7/07, Wesley J. Landaker <wjl@icecavern.net> wrote:
> On Friday 06 April 2007 17:00, Erik Uzureau wrote:
> > I know this is totally out of left field, but every time I do an "svn
> > commit" I always
> > wonder what are the net changes I'm making to the code base. Am I adding
> > lines or eliminating them?
> >
> > Of course, this is mostly just because I get great joy out of cleaning
> > up a bunch
> > of code, rewriting it to be smaller. If the commit would tell me "Your
> > commit reduced
> > the code base by X lines" that would be awesome.
> >
> > I assume I'm probably quite alone on this one, but my teachers always
> > said the only stupid question is the one you don't ask. Maybe someone
> > else would like this too.
>
> You can always just do something like:
>
> $ svn diff | diffstat
>
> See <http://freshmeat.net/projects/diffstat/> for that one. There are other
> similar programs that do analysis based on unified diff output.
>
> --
> Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 9 20:17:42 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.