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

Re: Re: Ordering of Files upon import

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-11-23 10:47:19 CET

[Regarding the order of files when importing:]

> This is on a windows box, so I downloaded the gnuwin32 'ls' utility, and the unsorted view didn't shed any light on the problem. I used the 'ls -U -1' command. The specific file was about 3/4 of the way down the list.
>
> Also, I created an empty repository, and a new directory of source code. I copied the O-Z files, then the A-N files, and re-imported. Same file was the last one. THe filename begins with v-, so it would have been copied in the first batch.
>
> The last few entries from the import log are as follows:
>
> Adding rpsrf**
> Adding shsh**
> Adding r-cb**
> Adding v-mm**
> Adding ltt**
> Adding w-ca**
> Adding s-pr**
> Adding b-ir**
> Adding cal**
> Adding v-mm**
>
> Very interesting, indeed.

As you concluded it's none of the options already named.

I can tell you what it is, but you can consider the answer to be the
same as 'unordered'...

The filenames - before starting the import - are stored in a hash
table. That hashtable is then walked first to last to import the
files. This means that the ordering of the files depends on their
filenames and the internal hashing algorithm.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 23 10:47:45 2007

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.