subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Tong <adam.to...@gmail.com>
Subject Re: Cannot get a file when deleted
Date Tue, 09 Aug 2011 15:28:39 GMT
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@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@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@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
>

Mime
View raw message