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

Re: format 3 and format 5 ... spaces in URL bug in SVN 1.4

From: Scott Morris <scott_at_4mation.com.au>
Date: 2006-11-07 04:19:43 CET

Andy Levy wrote:
> On 11/1/06, Scott Morris <scott@4mation.com.au>
> wrote:
>> Not sure where to go from here, so I'll start from the beginning...
>>
>> I was using the latest TortoiseSVN (1.4) and created a new file repos on
>> the server. Fantastic.
>>
>> Then I attempted to import my files into it, and it gave me an error in
>> the repo browswer
>>
>> Error * Expected format '3' of repository; found format '5'
>>
>> Which wasn't very nice... so I googled and found
>>
>> "Be sure to check your client version.
>>
>> For instance, oooh.. running svn version 1.2.3 with a repo version 1.4.0
>> (which I did) would be bad."
>> http://brok3n.org/archivesextreme/2006/09/old_svn_client.html
>
> Note that this only applies if you use file:// access. If you use
> svnserve or Apache (which is strongly recommended, file:// is really
> best for testing/debugging purposes and has some potential issues in a
> multiuser environment), you can mix versions between client and
> server.

Well, I use a mix of file:// and svn:// but try to use svn:// whenever
possible...

Right now, I am using the latest tortoiseSVN on the svn:// protocol, and
i am receiving that error
>> Error * Expected format '3' of repository; found format '5'

What should I do do about it?

>
>> So then I thought ahhh my TortoiseSVN is probably out of synch with my
>> svnserve.exe on the server! And lo-and behold I was using svnserve 1.2
>> or something. So off I went to upgrade it to 1.4.
>
> Are you serving via svnserve? If so, then you don't need to upgrade
> the server to 1.4 - you can use a 1.4 client with a 1.2 server.
>
>> I installed Subversion 1.4 and then attempted to use the repo browser to
>> view my repos, then I got the error similar to
>>
>> > svn ls "svn://localhost/Test Repo"
>> > svn: 'svn://localhost/Test Repo' is not the same repository
>> > as 'svn://localhost/Test%20Repo'
>> (see http://svn.haxx.se/users/archive-2006-09/1195.shtml)
>>
>> and it turns out Subversion 1.4 can't handle spaces in the URL
>
> This is a known bug and should be fixed in the 1.4.1 Subversion release.
>
>> So I backdated my Subversion to 1.3
>>
>> But now 1.3 won't work with TortoiseSVN due to the earlier error
>> expecting format 3 and got format 5.
>
> But this is only your working copy (hopefully, unless you're using
> file:// access), so all you need to do is check out a working copy
> with a Subversion 1.3 client and it'll be fine. However, as noted
> above, you can run a newer client with an older server if you use
> svnserve or Apache.
>
>> Where do I go from here? Use an earlier version of Tortoise?? Can I
>> patch Subversion 1.4??
>
> You tried a lot of things here and I'm not sure what the condition of
> your repository is. Take a backup of your repository and try rolling
> the server back to 1.3. If you want to roll the client back, you'll
> need to check out a fresh working copy with the old client, as there's
> no way to undo the working copy format update that 1.4 did.
>
>> And what do the numbers in that plain 'format' file mean anyway?
>
> It tells Subversion what version of the repository or working copy
> format is in use.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Nov 7 04:19:34 2006

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

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