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

Re: augmented diff design patch format

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2007-06-24 22:27:43 CEST

On 6/24/07, Eric Gillespie <epg@pretzelnet.org> wrote:

> 0 wc% svn up
> At revision 5.
> 0 wc% svn st
> 0 wc% svn ls
> file1
> 0 wc% echo hi >> file1
> 0 wc% echo hi > file2
> 0 wc% svn add file2
> A file2
> 0 wc% svn di
> ( open-root ( ( ) 2:d0 ) )
> ( open-file ( 5:file1 2:d0 2:c1 ( 5 ) ) )
> ( add-file ( 5:file2 2:d0 2:c2 ( ) ) )
> ( close-dir ( 2:d0 ) )
> ( apply-textdelta ( 2:c1 ( 32:b4b76f73deccb21b3bec1ebee83a5234 ) ) )
> Index: file1

Umm, I hate to say it, but that's hideous. Shoving a huge amount of
crap that people don't need to see in the default output of svn diff
is absurd. Stick this sort of stuff in optional sections that are
skipped by default or something, or at least find a way to make it
look somewhat human readable. Just because we have a format doesn't
mean it's suitable for all uses, and the svn protocol is absolutely
not suitable for output in between unified diff sections in the
default output of svn diff.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 24 22:27:36 2007

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.