Re: subversion under Linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jared
Date:  
To: plug-discuss
Subject: Re: subversion under Linux
you did not create the repository.
you need to run command " svnadmin create /path/to/svn/repository "

if you ls the actual repositry you will not see the internal structure 
of the repository
you should see something like the following
[jared@jhlaptop jared]$ ls -alt svn/project/
total 36
drwxrwxr-x  2 jared jared 4096 Jul  8 16:11 db
drwxrwxr-x  7 jared jared 4096 Jul  8 16:11 .
-r--r--r--  1 jared jared    2 Jul  8 16:11 format
drwxrwxr-x  2 jared jared 4096 Jul  8 16:11 conf
drwxrwxr-x  2 jared jared 4096 Jul  8 16:11 hooks
-rw-rw-r--  1 jared jared  376 Jul  8 16:11 README.txt
drwxrwxr-x  2 jared jared 4096 Jul  8 16:11 locks
drwxrwxr-x  2 jared jared 4096 Jul  8 16:11 dav
drwxrwxr-x  3 jared jared 4096 Jul  8 16:10 ..


after you create the repository create a temp folder. In the temp folder
create the initial
structrure ie: trunk branches tags etc. you can also put any project
code into trunk.
Next run command " svn import temp file:///path/to/svn/repository -m
"Initial Import" "
after the import you no longer need this temp folder.

now you can checkout the project

to view what is in the repository use the "svn ls"
" svn ls file:///path/to/svn/repository "


Jared



Jim wrote:

>Attached is a file comamndlog.txt which is a script file created by
>"script commandlog.txt"
>
>I am still having the same problem where I can not checkout a file
>through subversion.
>
>
>Jim
>
>
>
>
>
>On Fri, 2004-06-18 at 07:52, Ted Gould wrote:
>
>
>>On Thu, 2004-06-17 at 12:09, wrote:
>>
>>
>>>I wanted to try cvs and subversion and I installed apache2 and subverison
>>>and on the Quick Start http://svnbook.red-bean.com/svnbook/ch01s07.html
>>> I got all the way until the checkout part of the instuctiosn and then it
>>>failed prior to that the steps worked.
>>>
>>>Here is where I tried to checkout the file:
>>>svn checkout file:///var/www/svn/project/trunk/ bar.c
>>>svn: URL 'file:///var/www/svn/project/trunk' doesn't exist
>>>
>>>
>>I'm guessing that you probably have a slight error in one of the paths.
>>Could you post a command log of what you did? You can do that by typing
>>'script commandlog.txt' before doing everything. Then, after your done
>>type 'exit' and all the commands and output you typed will be in
>>'commandlog.txt'.
>>
>>        --Ted

>>
>>
>>
>>------------------------------------------------------------------------
>>
>>Script started on Thu Jul  8 09:50:43 2004
>>hostname:~# svn checkout file:///var/wwww/? ?? ?/sw? ?vn/project/trunk
>>svn: URL 'file:///var/www/svn/project/trunk' doesn't exist
>>hostname:~# svn checkout file:///var/www/svn/project/trunk bar.c
>>svn: URL 'file:///var/www/svn/project/trunk' doesn't exist
>>zorg:~# ls -alt /var/www/svn/project/
>>total 20
>>drwxr-xr-x    5 root     root         4096 Jun 17 11:09 .
>>drwxr-xr-x    8 root     root         4096 Jun 17 11:02 ..
>>drwxr-xr-x    2 root     root         4096 Jun 17 10:56 trunk
>>drwxr-xr-x    2 root     root         4096 Jun 17 10:55 tags
>>drwxr-xr-x    2 root     root         4096 Jun 17 10:55 branches
>>zorg:~# exit
>>exit

>>
>>Script done on Thu Jul 8 09:51:46 2004
>>
>>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss