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

Re: File in repo but wont check out

From: Andy Colson <andy_at_squeakycode.net>
Date: Thu, 10 Sep 2015 08:02:31 -0500

On 9/10/2015 12:30 AM, Andreas Stieger wrote:
> On 09/09/15 22:54, Andy Colson wrote:
>> On 09/09/2015 03:02 PM, Andreas Stieger wrote:
>>> On 09/09/15 16:14, Andy Colson wrote:
>>>> If I query the server directly, the file exists in the repo, but its not
>>>> on disk, I cannot check it out, or add it.
> [...]
>>> Your description is consistent with a partial working copy, e.g.
>>> excluded items. Try svn up --set-depth infinity.
>>
>> Thanks Andreas, but unfortunately that didnt work. I tried at the root
>> of the repo and in the phelpsmo folder.
> [...]
>> Just for a test, I tried checking out to a tmp spot:
>>
>> $ cd /tmp/
>> $ svn co svn://marajade/counties2/8.0/htdocs/img/phelpsmo
> [...]
>> A phelpsmo/Courthouse.jpg
> [...]
>>
>> So that worked. I guess that helps me be sure it is actually in the
>> repo, but I'm not sure what it means.
>
> Maybe part of your working copy is switched to a path where the item
> does not exist. (switched subtree). You can check, svnversion would show
> an "S".
>
> If that is the case, switch the whole working copy to the path you think
> it's working from:
> svn switch svn://marajade/counties2/8.0/htdocs/img/phelpsmo
>
> Failing that, discard the working copy and try over.
>
> Andreas
>

Humm, nope, no S's. I checked it all the way down:

andy_at_mapper:/pub/www/counties/8.0$ svnversion
1394
andy_at_mapper:/pub/www/counties/8.0$ cd htdocs/img/
andy_at_mapper:/pub/www/counties/8.0/htdocs/img$ svnversion
1394
andy_at_mapper:/pub/www/counties/8.0/htdocs/img$ cd phelpsmo/
andy_at_mapper:/pub/www/counties/8.0/htdocs/img/phelpsmo$ svnversion
1394

> Failing that, discard the working copy and try over.

Yeah, a fresh copy sounds like a good fix. I have a bunch of extra
files not checked in, but a quick directory diff should find those.

Thanks for your help on this.

-Andy
Received on 2015-09-10 15:02:50 CEST

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