Cannot create repository

2011-07-11 Thread Adam Tong
Hi,

I just downloaded svn to my fedora 14 using the command "yum install svn".

The installation was successfull, but i cannot create a repository.
Here is the output:

---
[root@mycomputer me]# svnadmin create /var/svn/repos
svnadmin: Repository creation failed
svnadmin: Could not create top-level directory
svnadmin: Can't create directory '/var/svn/repos': No such file or directory
---

Thanks


Cannot get a file when deleted

2011-08-09 Thread Adam Tong
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


Re: Cannot get a file when deleted

2011-08-09 Thread Adam Tong
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
 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
>>   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
>


Re: Cannot get a file when deleted

2011-08-09 Thread Adam Tong
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
 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
>>   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
>>>>     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
>


Re: Cannot get a file when deleted

2011-08-09 Thread Adam Tong
Thank you so much Giulio for your help.

On Tue, Aug 9, 2011 at 11:40 AM, Giulio Troccoli
 wrote:
>
>
> On 09/08/11 16:28, Adam Tong wrote:
>>
>> 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
>>   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
>>>>     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
>>>>>>       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
>>>
>
> As far as I know no, there is no way to configure Subversion to know that.
> If you're using a Unix-like OS at work, make sure you don't have an alias,
> or maybe a local rm that it's actually a svn rm in disguise
>
> Giulio
>