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

Re: Why do updated files come in "random" order?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-22 19:53:42 CEST

On 5/22/06, Stephen Davis <subversion@soundgeek.org> wrote:
> When I do an update, the files that come down are not in alphabetical
> order but are instead in a seemingly random order. Directories are
> also returned in non-alphabetical order.
> A www
> A www/project_window.png
> A www/index.html
> A www/OldReleaseNotes.html
> Updated to revision 500.
> This is obviously not a critical issue but it is visually
> disconcerting. I'm just wondering why svn works this way. When you
> browse the repository in your web browser it is correct (well, mostly).
> Revision 500: /trunk/SubversionPlugin/www
> ..
> OldReleaseNotes.html
> index.html
> project_window.png
> ---
> Powered by Subversion version 1.3.1 (r19032).
> I find it useful to look at the output of an update to see what
> chunks of the tree got updated but I have to search through the whole
> list to see stuff I'm interested in instead of just knowing the
> expected order.

There are a number of places in Subversion where the order files are
handled turns out to be dictated by unpredictable things like the
internal ordering of a hash table or something like that. There are
various issues that have been filed about making these kind of things
more predictable (for example, it's desireable for 'svn diff' output
to be in a predictable order so you can compare diffs). If you look
in the issue tracker you can probably find some issues that are
related to this.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 22 19:55:06 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.