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

RE: Fail to commit file at root folder

From: Oren Eini (Murphy & Associates) <v-orene_at_microsoft.com>
Date: Mon, 24 Mar 2008 09:40:31 -0700

Okay, in installed SVN 1.5, the apache conf is:

<Location / >
   DAV svn
   SVNPath C:/Repositories/test
</Location>

I can access it with TSVN, but not with svn.exe (in fact, the old svn.exe dies on use) the 1.5 stuff gives me:
E:\temp>"C:\Program Files\CollabNet Subversion Server\svn.exe" co http://localhost:8444/ test_w
svn: OPTIONS of 'http://localhost:8444': Could not parse response status line (http://localhost:8444)

The part about url root is simple that the file needs to be located in the root of the server, not under any folder.

________________________________________
From: Karl Fogel [kfogel_at_red-bean.com]
Sent: Monday, March 24, 2008 8:15 AM
To: Oren Eini (Murphy & Associates)
Cc: dev_at_subversion.tigris.org
Subject: Re: Fail to commit file at root folder

"Oren Eini (Murphy & Associates)" <v-orene_at_microsoft.com> writes:
> Using 1.4.0 (r21228)
> The following set of command fails:

Thank you. Can you reproduce this with trunk Subversion, or with
1.5.0-beta1?

Also, can you explain what you mean by "the root folder of
the site. Not just the root folder of the repository"? I wasn't sure
how to interpret that, but it sounds like you're saying there's some
important part of the reproduction recipe that's not given in your
script below. Maybe adding a cd to the script would clarify?

Thanks,
-Karl

> svn co https://localhost:8443 test_working_copy
> cd test_working_copy
> echo test > test.txt
> svn add test.txt
> svn commit -m test1
> svn up
> echo test2 > test.txt
> svn commit -m test2
> svn update
> echo test3 > test.txt
> svn commit -m test3
>
> The error is:
> svn: Commit failed (details follow):
> svn: Your file or directory 'test.txt' is probably out-of-date
> svn: The version resource does not correspond to the resource within the
> transaction. Either the requested version resource is out of date (needs to be
> updated), or the requested version resource is newer than the transaction root
> (restart the commit).
>
> Mitigating factor: this only appears when you are working on the root folder of
> the site. Not just the root folder of the repository.
> Trying the same on the following URLs work:
> https://localhost:8443/test/ (where /test/ is the root of the subversion
> repository)
> or
> https://localhost:8443/trunk (where /trunk is a folder inside the SVN
> repository)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-24 17:40:44 CET

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

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