[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: Marcel Gosselin <marcel.gosselin_at_polymtl.ca>
Date: Mon, 24 Mar 2008 12:41:16 -0400

Karl Fogel a écrit :
> "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?
>
I think what Oren means is:
The commit fails if the URL to the file is:

        https://localhost:8443/test.txt

but commit works if URL is

        https://localhost:8443/<anything_here>/text.txt

Did I understand properly Oren?

-Marcel

> 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
>
>

---------------------------------------------------------------------
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:41:32 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.