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

Re: commit problem: file not found

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 28 May 2009 19:12:07 -0400

Sorry, I didn't recognize the "svn st" output. I was hoping it would
show you the problem area. Have you tried "svn up" too? Subversion
doesn't allow commits unless all files are on the latest revision.
That's fine, but sometimes the error message can be a bit strange.

On Wed, May 27, 2009 at 10:12 PM, Nick Hasser <nick.hasser_at_gmail.com> wrote:
> David Weintraub wrote:
>> On Wed, May 27, 2009 at 5:55 PM, Nick Hasser <nick.hasser_at_gmail.com> wrote:
>>
>>> I'm trying to commit a wc, but keep getting commit failed messages. I'm
>>> not sure why. I've searched, but must not be using the correct terms
>>> because I keep getting information on merging, which isn't what I'm
>>> trying to do.
>>>
>>> I keep getting "svn: File not found: revision 326, path
>>> '/kofc/newsletter/branches/200905/Newsletter.sla'" commit messages. I'm
>>> confused as to what this means and how it is relevant since it is
>>> referring to a file in a different path than what I'm trying to commit.
>>> I get the same error whether I'm in branches or branches/200906.
>>>
>>> Any pointers on where to look to understand and solve this problem?
>>>
>>>
>>> Here is some info that might be useful:
>>>
>>> mbp:branches nick$ pwd
>>> /Users/nick/kofc/newsletter/branches
>>> mbp:branches nick$ ll
>>> total 16
>>> drwxr-xr-x  8 nick  staff   272 May 27 17:49 .
>>> drwxr-xr-x  7 nick  staff   238 Dec 17 06:39 ..
>>> -rw-r--r--@ 1 nick  staff  6148 May 27 14:40 .DS_Store
>>> drwxr-xr-x  7 nick  staff   238 May 27 17:50 .svn
>>> drwxr-xr-x  8 nick  staff   272 May 27 17:47 200906
>>> drwxr-xr-x  4 nick  staff   136 Dec 14 12:39 200907
>>> drwxr-xr-x  4 nick  staff   136 Dec 14 12:39 200908
>>> drwxr-xr-x  4 nick  staff   136 Dec 14 12:41 200909
>>> mbp:branches nick$ svn st
>>> M       200906/articles/fratben_200906.txt
>>> A       200906/articles/gk.txt
>>> A       200906/articles/shred.txt
>>> A       200906/articles/program.txt
>>> A       200906/articles/_wc.txt
>>> A       200906/articles/heavenswords.txt
>>> A  +    200906/articles/cal_jul.txt
>>> A  +    200906/articles/ue.txt
>>> M       200906/articles/kotm.txt
>>> A  +    200906/articles/cal_jun.txt
>>> A       200906/articles/editorial.txt
>>> A       200906/articles/koi.txt
>>> A  +    200906/articles/issue.txt
>>> A       200906/articles/sick.txt
>>> A       200906/articles/noteable.txt
>>> A       200906/draft.pdf
>>> A  +    200906/Newsletter.sla
>>> A  +    200906/checklist.ods
>>> mbp:branches nick$ svn ci -m 'pk200906 draft complete'
>>> Adding         branches/200906/Newsletter.sla
>>> Adding         branches/200906/articles/_wc.txt
>>> Adding         branches/200906/articles/cal_jul.txt
>>> Adding         branches/200906/articles/cal_jun.txt
>>> Adding         branches/200906/articles/editorial.txt
>>> Sending        branches/200906/articles/fratben_200906.txt
>>> Adding         branches/200906/articles/gk.txt
>>> Adding         branches/200906/articles/heavenswords.txt
>>> Adding         branches/200906/articles/issue.txt
>>> Adding         branches/200906/articles/koi.txt
>>> Sending        branches/200906/articles/kotm.txt
>>> Adding         branches/200906/articles/noteable.txt
>>> Adding         branches/200906/articles/program.txt
>>> Adding         branches/200906/articles/shred.txt
>>> Adding         branches/200906/articles/sick.txt
>>> Adding         branches/200906/articles/ue.txt
>>> Adding  (bin)  branches/200906/checklist.ods
>>> Adding  (bin)  branches/200906/draft.pdf
>>> Transmitting file data .............svn: Commit failed (details follow):
>>> svn: While preparing
>>> '/Users/nick/kofc/newsletter/branches/200906/draft.pdf' for commit
>>> svn: File not found: revision 326, path
>>> '/kofc/newsletter/branches/200905/Newsletter.sla'
>>> mbp:branches nick$ svn list -r 324 200905
>>> svn: '200905' is not under version control
>>> mbp:branches nick$ svn log -r 325:327 -v
>>> ------------------------------------------------------------------------
>>> r325 | nick | 2009-03-31 22:08:06 -0400 (Tue, 31 Mar 2009) | 1 line
>>> Changed paths:
>>>   A /kofc/newsletter/branches/200906/articles/kotm.txt
>>>
>>> kotm for 200906
>>> ------------------------------------------------------------------------
>>> r326 | nick | 2009-03-31 22:08:50 -0400 (Tue, 31 Mar 2009) | 1 line
>>> Changed paths:
>>>   D /kofc/newsletter/branches/200904
>>>   A /kofc/newsletter/tags/pk200904 (from
>>> /kofc/newsletter/branches/200904:306)
>>>   A /kofc/newsletter/tags/pk200904/Newsletter.sla (from
>>> /kofc/newsletter/branches/200904/Newsletter.sla:325)
>>>   R /kofc/newsletter/tags/pk200904/articles (from
>>> /kofc/newsletter/branches/200904/articles:325)
>>>   R /kofc/newsletter/tags/pk200904/checklist.ods (from
>>> /kofc/newsletter/branches/200904/checklist.ods:325)
>>>   A /kofc/newsletter/tags/pk200904/draft.pdf (from
>>> /kofc/newsletter/branches/200904/draft.pdf:325)
>>>   A /kofc/newsletter/tags/pk200904/pk200904-insert.pdf (from
>>> /kofc/newsletter/branches/200904/pk200904-insert.pdf:325)
>>>   A /kofc/newsletter/tags/pk200904/pk200904-up.pdf (from
>>> /kofc/newsletter/branches/200904/pk200904-up.pdf:325)
>>>   A /kofc/newsletter/tags/pk200904/pk200904.pdf (from
>>> /kofc/newsletter/branches/200904/pk200904.pdf:325)
>>>
>>> tagged pk200904
>>> ---------------------------------
>>>
>>> Thanks,
>>> Nick
>>>
>> Try a "svn status" and see what you get.
>>
>> There are several times you'll get this message. Sometimes you see it when
>> you  have a file not under local version control, but it should be. This can
>> happen when you create a file and then someone else creates the same file,
>> and adds it to Subversion.
>>
>> Doing an "svn status" will help clarify what  is going on with your work
>> area.
> [corrected to bottom-postting]
>
> An 'svn st' is included in my first email. The file indicated in the
> error isn't included in the 'svn st' output. It has already been deleted
> in a previous commit.
>
> Any thoughts?
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356007
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

-- 
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356614
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-29 01:13:13 CEST

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.