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

Re: Cannot get a file when deleted

From: Giulio Troccoli <giulio.troccoli_at_mediatelgroup.co.uk>
Date: Tue, 09 Aug 2011 16:20:46 +0100

On 09/08/11 16:18, Adam Tong wrote:
> svn st gives the that the file was deleted (D) when i do svn up it
> does not bring it. But when i did the first sugetion of copy -r ....
> it worked
>
> sorry about forgeting to reply to all
>
>
> On Tue, Aug 9, 2011 at 11:03 AM, Giulio Troccoli
> <giulio.troccoli_at_mediatelgroup.co.uk> wrote:
>>
>> On 09/08/11 16:02, Adam Tong wrote:
>>> you are right i used the os, i did not commit after deleting.
>>>
>>> On Tue, Aug 9, 2011 at 11:00 AM, Giulio Troccoli
>>> <giulio.troccoli_at_mediatelgroup.co.uk> wrote:
>>>> On 09/08/11 15:40, Adam Tong wrote:
>>>>> Hi,
>>>>>
>>>>> When i remove a file from my local copy, I cannot get it from the
>>>>> repository using the command svn up.
>>>>>
>>>>> Is there another way to get a recently deleted file? or there is
>>>>> something wrong in my settings.
>>>>>
>>>>> Thanks
>>>> Did you use the OS to delete the file or Subversion? Did you commit? If
>>>> you
>>>> can tell as exactly what you did we'd be in a better position to help
>>>>
>> In that case the file should be back. What does svn status say?
>>
>> And please, Reply-to-all so that the conversation stays on the mailing list
>>
>> Gulio
>>

Well, is svn st says it's been deleted than you have use svn to delete
the file, or Subversion wouldn't know about it. So to restore it you can
simply use svn revert

Giulio
Received on 2011-08-09 17:21:14 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.