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

Re: I can not do a svn commit

From: Daniela Rivas <eriqut_at_gmail.com>
Date: Tue, 18 Jan 2011 17:32:03 -0430

Daniela...

On Tue, Jan 18, 2011 at 4:59 PM, Ryan Schmidt
<subversion-2011a_at_ryandesign.com> wrote:
> On Jan 18, 2011, at 09:51, Daniela Rivas wrote:
>> On Mon, Jan 17, 2011 at 5:10 PM, Ryan Schmidt wrote:
>>> On Jan 17, 2011, at 08:31, Daniela Rivas wrote:
>>>> When I did svn cat http://10.0.0.1/trunk/index.html
>>>> I got this "svn: El servidor envió un valor de devolución inesperado
>>>> (405 Method Not Allowed) en respuesta al requerimiento PROPFIND para
>>>> '/trunk/index.html' "
>>>
>>> Then it doesn't sound like that's the correct URL to your repository. Go into your working copy and type "svn info"; it should tell you what the repository URL is.
>>>
>>>
>>>> I mean that i have the working copy and the repository in different
>>>> machines. So the thing that I want to get is if I modify the working
>>>> copy, get the changes in the repository too.
>>>
>>> Of course: that's the definition of committing. If you commit successfully, that means the changes have been transmitted to and stored in the repository.
>>>
>>> Are you perhaps confused by the fact that, if you look at the repository server's hard disk, you do not see the specific files you committed? If so, that is normal; Subversion stores your files in the repository, which is a kind of database; you won't see the individual files on the hard disk. If that's what you're wanting to see, then perhaps you need to read this FAQ entry:
>>>
>>> http://subversion.apache.org/faq.html#website-auto-update
>>>
>>> If that's not what you're after, you need to explain in more detail exactly what you are expecting to see.
>>
>> Well. After I have done a svn commit in the repository, I would like
>> to browser the page, for example index.html. I would like to see the
>> changes that i did in the working copy, modified in the repository.
>> When I refresh the page, i get the old copy that i had before
>> http://localhost/prueba/index.html. I don't get the changes at all.
>>
>> I am not sure, if it is related with the website-auto-update o maybe
>> with the svn version i am using.
>>
>>
>> Finally I could do a svn cat and I got the changes I did, I had a
>> problem with the URL.
>
> Ok, and what was the correct repository URL, finally?
>
> What is http://localhost/prueba/index.html? That URL doesn't have "trunk" or "branches" or "tags" in it so I'm assuming that's not your repository. Is it a working copy on your server? Is it just a directory on your server? If it's just a directory, you need to make it into a working copy. If it's a working copy, you need to call "svn update" on it in a post-commit hook, as described in the website-auto-update FAQ entry above.
>

Ok the correct repository URL was
http://localhost/prueba/trunk/index.html, so when I execute in a
browser http://localhost/prueba/trunk/index.html, I get the first
version of the file that i had, without seeing the changes that i did
to the working copy, however the number of the revision has increased,
because the commit was successful.

http://localhost/prueba/trunk/index.html is the repository, it is not
a working copy.

It was a mistake to put http://localhost/prueba/index.html in the previous mail.

I hope, i did my self more clear.

Margeurite
Received on 2011-01-18 23:02:42 CET

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.