On 09/09/2015 03:02 PM, Andreas Stieger wrote:
> Hello,
>
> 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.
>>
>> $ svn ls svn://marajade/counties2/8.0/htdocs/img/phelpsmo/Courthouse.jpg
>> Courthouse.jpg
>>
>> The courthouse.jpg does not exist though, I can't seem to check it out
>> or revert it. svn st shows:
>>
>> $ svn st -uv
>> 1394 1261 andy GISLogo.gif
>> 1394 1393 andy doorhanger.jpg
>> 1394 1261 andy GISLogo2.png
>> 1394 953 andy PCATransparent.png
>> 1394 751 andy SignExample.jpg
>> 1394 1394 andy .
>> Status against revision: 1394
>>
>> If I copy the file in, then the status shows:
>>
>> $ svn st -uv
>> 1394 1261 andy GISLogo.gif
>> 1394 1393 andy doorhanger.jpg
>> 1394 1261 andy GISLogo2.png
>> 1394 953 andy PCATransparent.png
>> 1394 751 andy SignExample.jpg
>> ? Courthouse.jpg
>> 1394 1394 andy .
>> Status against revision: 1394
>>
>> So we add it:
>>
>> $ svn add Courthouse.jpg
>> A (bin) Courthouse.jpg
>> $ svn st
>> A Courthouse.jpg
>> $ svn commit -m ''
>> Adding (bin) Courthouse.jpg
>> Transmitting file data .svn: E160020: Commit failed (details follow):
>> svn: E160020: File already exists: filesystem
>> '2d5ec2cd-1e3a-409e-9b6c-2b0857161d4a', transaction '1394-12r', path
>> '/8.0/htdocs/img/phelpsmo/Courthouse.jpg'
>>
>>
>> I've tried svn cleanup, revert, blowing away the phelpsmo folder and
>> 'svn up'.
>
> Your description is consistent with a partial working copy, e.g.
> excluded items. Try svn up --set-depth infinity.
>
> Andreas
>
Thanks Andreas, but unfortunately that didnt work. I tried at the root of the repo and in the phelpsmo folder.
I had added the file (as above) so first I revert it, then removed the file.
$ svn revert Courthouse.jpg
Reverted 'Courthouse.jpg'
$ rm Courthouse.jpg
$ svn st -uv
1394 1261 andy GISLogo.gif
1394 1393 andy doorhanger.jpg
1394 1261 andy GISLogo2.png
1394 953 andy PCATransparent.png
1394 751 andy SignExample.jpg
1394 1394 andy .
Status against revision: 1394
$ svn up --set-depth infinity
Updating '.':
At revision 1394.
But its still not here, 'svn st' shows exactly as a above. I will research 'excluded items' and 'partial working copy' however, they are search terms I've not tried yet.
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/GISLogo2.png
A phelpsmo/PCATransparent.png
A phelpsmo/SignExample.jpg
A phelpsmo/Courthouse.jpg
A phelpsmo/Phelps.gif
A phelpsmo/hsbillw.jpg
A phelpsmo/GISLogo.gif
A phelpsmo/doorhanger.jpg
U phelpsmo
Checked out revision 1394.
So that worked. I guess that helps me be sure it is actually in the repo, but I'm not sure what it means.
-Andy
Received on 2015-09-09 22:54:21 CEST