On Friday, April 19, 2013 2:27:58 AM UTC-7, Joost Kraaijeveld wrote:
>
> HI, 
>
> I need to change the SVN repository of a Trac 1.0.1 installation. I 
> changed the repository path in the trac.ini.

But running the trac-admin 
> to resync the environment with the repository fails with: 
>
> TracError: Repository '/home/askesis/svn/hanprojects/' not found 
>
> which incorrect as the repository exists at the specified location. So I 
> assume that it is trying to say something else. Is that possible? Does 
> anyone recognise this and knows a solution?
>

First, try listing the repositories. Here is an example:

user@debian-wheezy:~/Workspace/t7655$ trac-admin tracdev repository list

Name       Type  Alias  Directory                                    
---------------------------------------------------------------------
(default)               /home/user/Workspace/t7655/repos/tracdev/


Now, I get the same as you if I try:

user@debian-wheezy:~/Workspace/t7655$ trac-admin tracdev repository resync 
/home/user/Workspace/t7655/repos/tracdev/
TracError: Repository '/home/user/Workspace/t7655/repos/tracdev/' not found

So, I must reference the repository by name, with quotes around the name:

user@debian-wheezy:~/Workspace/t7655$ trac-admin tracdev repository resync 
"(default)"
Resyncing repository history for (default)... 
0 revisions cached.
Done.

-- 
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 http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to