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

Re: Small nit with svn diff

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-11-15 20:10:56 CET

On Tue, 2005-11-15 at 08:48 -0800, Kean Johnston wrote:
> Hi all,
>
> I'm using svn 1.2.3, and have a small nit with svn diff. I
> dont know if this is fixed in 1.3 (if it is I'd appreciate
> someone telling me as that would be sufficient motivation
> to change).
>
> When doing an 'svn diff' the results tend to jump around
> the codebase quite a bit. I've been using svn for accessing
> and working on teh gcc repository, and for example, instead
> of showing all the diffs in gcc, then moving on to gcc/config
> and then gcc/config/i386, the diffs kinda jump around. This
> makes producing and documenting patches a little difficult.
> It also makes the process of hand applying diffs from one
> tree to another more difficult.
>
> Is there an option somewhere I can specify that will do
> do all teh diffs in one directory before moving on to the
> next?

No.
It processes them as it finds them.

If you want to change this, change delta_dirs in libsvn_repos/reporter.c
to sort the non-deleted hash before walking it.

You can use svn_sort__hash to do that
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 15 20:13:18 2005

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.