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

Re: random sort of svn status and svn diff

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 21 Mar 2012 10:17:12 +0200

SÚrgio Basto wrote on Wed, Mar 21, 2012 at 07:25:05 +0000:
> On Wed, 2012-03-21 at 08:00 +0100, Stefan Sperling wrote:
> > On Wed, Mar 21, 2012 at 03:02:53AM +0000, SÚrgio Basto wrote:
> > > On Wed, 2012-03-21 at 00:51 +0000, Philip Martin wrote:
> > > > SÚrgio Basto <sergio_at_serjux.com> writes:
> > > > > why the output shouldn't be sorted by name or something else ?
> > > > > or why svn don't have a sort option this is insane .
> > > >
> > > > It could be done but nobody has done it yet, the APR change is only a
> > > > few weeks old. Sorting may need to be optional as there is a cost to
> > > > sorting that not everybody would want.
> > >
> > > I am a volunteer to change code to do a constant sort on svn diff and
> > > status and test it , I think that is more quick that do an external
> > > function to do that for me .
> >
> > Great, please see
> > http://subversion.apache.org/docs/community-guide/general.html#patches
> >
> > You should discuss the approach you want to take to fix this on the
> > dev@ list before putting too much work into a patch. That way, if there
> > are any concerns about the approach they can get resolved upfront,
> > before a lot of work has been done. Please start a new thread on the
> > dev@ list to discuss your approach.
>

+1

> Hi, Dev list , I want to fix random sort of svn status and svn diff, on
> recent code of svn, it just put a sort somewhere, could someone point me
> the directory in the source code, where is the code of svn frontend
> commands like diff and status ?

The frontend code lives in the directory subversion/svn/.

As I said elsethread, you want to patch the library code too, not just
the frontend code.

Looking forward to hear what approach you're planning to take,

Daniel
Received on 2012-03-21 09:17:55 CET

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