[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: Adam Tong <adam.tongu_at_gmail.com>
Date: Tue, 9 Aug 2011 11:28:39 -0400

You are right i just tested when i do revert it is reverted and i can
see it in the file system.

On the other hand, I am sure that i am doing "rm filename" and not svn
delete filename.

Maybe there is a way to configure svn so that it considers rm as
equivalent to svn delete?

Because this is happens in my job and does not in my laptop at home.

On Tue, Aug 9, 2011 at 11:20 AM, Giulio Troccoli
<giulio.troccoli_at_mediatelgroup.co.uk> wrote:
>
>
> 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:37:40 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.