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

Re: Intermittent Commit Error

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-27 10:26:20 CEST

On Apr 27, 2007, at 03:22, David Harrigan wrote:

> Ryan Schmidt wrote:
>
>> On Apr 27, 2007, at 02:20, David Harrigan wrote:
>>
>>> Erik Huelsmann wrote:
>>>
>>>> On 4/26/07, David Harrigan wrote:
>>>>
>>>>> The error has happened again, but on a different file. I only
>>>>> edited
>>>>> the
>>>>> file earlier in the morning to change some of the logic. Now I
>>>>> can't
>>>>> commit it....Same error!
>>>>
>>>> What about Ryan's answer?
>>>
>>> I tried the suggestions in Ryan's answer, and it cleared up some
>>> of my
>>> misunderstandings about svn, but the problem still persists. I
>>> did a svn
>>> up (which reported that nothing was wrong, i.e., no updates to
>>> pull back
>>> - - I was at the "head" of the trunk) and I tried a svn commit -
>>> and the
>>> problem continues. My only solution at the moment is to cp the file
>>> somewhere temporary, svn rm + commit the file + changes, cp the file
>>> back to it's location from it's temporary location and svn add +
>>> commit
>>> the file.
>>>
>>> In http://subversion.tigris.org/faq.html#wc-out-of-date, it says
>>> to try
>>> doing an svn update first (debris - not existent - svn log -rHEAD
>>> reported nothing) and mixed revisions - doing an svn update should
>>> cure it.
>>>
>>> So, the problem is still there. Is there any debug I can switch on
>>> (client side) to see more detail?
>>
>> Have you already tried checking out a new working copy and using that
>> instead? Perhaps something with your original working copy is
>> screwed up
>> in some way.
>
> I rm'ed the file, did an svn up to restore the file back, deleted the
> contents of the file, pasted in my modified code and tried to svn
> commit.
>
> Same error.

I understand that. But have you tried checking out an entirely new
working copy? Do you experience the error there?

svn checkout http://www.example.com/svn/project/whatever working-copy
cd working-copy
make-changes-to my-file
svn commit my-file

If that works, then continue using the new working copy and see if
the problem comes back. If it doesn't, great! You've solved the problem.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 27 10:26:56 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.