[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: Sérgio Basto <sergio_at_serjux.com>
Date: Wed, 21 Mar 2012 16:45:41 +0000

On Wed, 2012-03-21 at 10:17 +0200, Daniel Shahaf wrote:
> 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,

I am planning a quick fix ;)
I never saw code of subversion before , though at point where we get the
list of file, do a sort .
Unfortunately I don't had time before end of the month or even more ,
This random thing does not came in a good time .
I use many svn diff to review my code ...

So any ideas is appreciated.
Thanks,

-- 
Sérgio M. B.
Received on 2012-03-21 17:46:25 CET

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.