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

Re: svn commit: r1341031 - /subversion/trunk/subversion/svn/props.c

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 21 May 2012 17:06:32 +0100 (BST)

Hyrum K Wright wrote: > On Mon, May 21, 2012 at 9:03 AM,  <stsp_at_apache.org> wrote: >> Make 'svn proplist' print property lists in sorted order. >> Avoids random output ordering with APR-1.4.6. > > If we do this on a regular basis, it might be useful to implement a > wrapper which takes a baton and handler function and then calls the > handler with the hash key/value in sorted order.  It might add some > overhead, but it also consolidates the sorting into one location, > rather than sprinkled everywhere.  It doesn't matter much to me; just > a thought that arose upon review.  :) I wrote the attached patch some time back, to experiment with the idea of making a simple-to-use hash iterator that iterates in sorted order. - Julian

Received on 2012-05-21 18:07:10 CEST

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