On Wednesday, March 8, 2017 at 1:52:02 AM UTC-8, klaus.dobbler wrote:
>
> Hi all,
>
> i would like to setup a svn repository in my trac environment and started 
> by guidelines of 
>
> http://localhost:81/trac/MotionMixes/wiki/TracRepositoryAdmin
>
> First, I did the tracopt.versioncontrol.svn.* = enabled in the trac.ini 
> components section
>
> Then, the TracRepositoryAdmin-Guide says, that a repository can be created 
> using trac-admin - commands so I started with:
>
> repository add <repos> <dir> [type]Add a repository <repos> located at 
> <dir>, and optionally specify its type.
>
>
> I started the command line in the trac-admin.exe - directory 
> (C:\Bitnami\trac-1.2-0\apps\trac\Scripts) and typed:
>
>
> trac-admin repository add repos "C:\Users\CHILI-WIN7\Bitnami Trac Stack 
> repository" SVN 
>
>
> and got the following message:
>
>
> Error: No Trac environment found at 
> C:\Bitnami\trac-1.2-0\apps\trac\Scripts\repository 
>
> [Errno 2] No such file or directory: 
> 'C:\\Bitnami\\trac-1.2-0\\apps\trac\\Scripts\\repository\\VERSION
>
>
> Could someone help, what causes this problem here?
>
>
> Thanks!
>
>
> Regards 
>
>
> Klaus
>

The second argument should always be the environment path:

trac-admin "C:\path\to\environment\directory" repository add ....

You can also add repositories through the web administration page: 
/admin/versioncontrol/repository

- Ryan
 
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to