I might be mis-reading your post, but Trac will not create an SVN, if
you have already created an SVN, then ignore my ignorance :)

Assuming Trac is located at:  /usr/local/trac

sudo svnadmin create /usr/local/trac/MyRepose
mkdir -p MyRepose/branches MyRepose/tags MyRepose/trunk
sudo svn import MyRepose file:///usr/local/trac/MyRepose -m "Initial
Import"
sudo chown wwwrun:www /usr/local/trac  (might as well do the entire
trac sight anyway!)

I like to even perma set some permissions so I don't have to every
again:

sudo setfacl -R -d -m user:wwwrun:rwx /usr/local/trac
sudo setfacl -R -m wwwrun:rwx /usr/local/trac

#####
With my ignorance ignored:
#####
Now with the SVN created you would:

sudo su -
trac-admin /usr/local/trac repository add (default) /usr/local/trac/
MyRepose
trac-admin /usr/local/trac repository resync "*"

You may replace (default) with what name you'd like, although, if you
plan on using your Trac for bitten builds, it needs (default) as the
name (or alias (default) later... I think alias is supported with
bitten... anyone?)

Hope this helps!
Jason


On Apr 13, 5:19 am, Hasibullah <[email protected]> wrote:

> Hi dear all
>
> I hope i am not taking boring discussions.
> How to set up Subversion for trac, i used one shown bellow, i want to
> know if that is the right way to set the SVN.
>
> i logged in to the trac environment with trac-admin <env> the i wrote
> repository
>
> > repository add repos /usr/local/trac/MyRepose
>
> Please tell
>  i will be very proud of you all

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to