Hyrum K Wright wrote: > On Mon, May 21, 2012 at 9:03 AM, <[email protected]> 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
sort-hash-iter.patch
Description: Binary data

