Hi again Igor!
I’m not sure what’s going on here. From the path info stated in your failure
message below, it seems that you have located the files of the Subversion
repository among the files for the Trac environment. This is not
recommended. I would like to suggest another file structure instead (in case
I’m right in my assumption):
/home/terralab/projects/trac/nametracenv
/home/terralab/projects/svn/namerepositorysvn
The Subversion repo must be created by Subversion before Trac can start to
use it:
svnadmin create /home/terralab/projects/svn/namerepositorysvn
Make sure that trac.ini, the Trac configuration file, refers to the
Subversion directory:
[trac]
repository_dir = /home/terralab/projects/svn/namerepositorysvn
Then you should be able to:
trac-admin /home/terralab/projects/trac/nametracenv resync
if that does not work, then perhaps you have problems with the Python
bindings for Subversion, used by Trac. In that case, have a look here:
http://trac.edgewall.org/wiki/0.11/TracInstall#VersionControlSystem
I think you should consider an upgrade to Trac 0.12.2 (soon there will be a
0.12.3) before troubleshooting the Python Subversion binders.
Hope that some parts of this makes sense, and are valuable to you.
Good luck!
-- Mikael Relbe (mrelbe)
Från: [email protected] [mailto:[email protected]] För
Igor Muzetti
Skickat: den 15 september 2011 15:38
Till: [email protected]
Ämne: Re: [Trac] resync
Thanks Mikael, Traduzir texto ou página da webbut yet could not.
svn directory in general:
# trac-admin /home/terralab/projects/trac/nametracenv/ resync
Resyncing repository history...
Command failed:
/home/terralab/projects/trac/nametracenv/projects/svn/namerepositorysvn does
not appear to be a Subversion repository.
Do not know what's going on.
Observation: nametracenv = namerepositorysvn
Digite um texto ou endereço de um site ou traduza um documento.
<http://translate.google.com.br/?tr=f&hl=pt-BR>
Cancelar <http://translate.google.com.br/?tr=t&hl=pt-BR>
[ ]
Tradução do português para inglês
2011/9/15 Mikael Relbe <[email protected]>
Ah, actually suspected that. Then I have to re-phrase my first answer.
Issue the following command (based on your example below):
trac-admin /path/to/tracenv resync
See http://trac.edgewall.org/wiki/0.11/TracAdmin for details.
Hope that helps.
/M
Från: [email protected] [mailto:[email protected]] För
Igor Muzetti
Skickat: den 14 september 2011 23:12
Till: [email protected]
Ämne: Re: [Trac] resync
I use version 0.11.1
2011/9/14 Mikael Relbe <[email protected]>
Which version of Trac are you using?
/M
Från: [email protected] [mailto:[email protected]] För
Igor Muzetti
Skickat: den 14 september 2011 14:18
Till: [email protected]
Ämne: Re: [Trac] resync
# trac-admin projects/trac/nameproject repository resync
projects/svn/nameproject
*** Unknown syntax: repository 'resync' 'projects/svn/nameproject'
Never would make comand: sync. Can to be this?
2011/9/14 Mikael Relbe <[email protected]>
If you are using Trac 0.12 you should issue the following command (based on
your example below):
trac-admin /path/to/tracenv repository resync projects/svn/nameproject
See http://trac.edgewall.org/wiki/TracAdmin for details.
-- Mikael Relbe (mrelbe)
> -----Ursprungligt meddelande-----
> Från: [email protected] [mailto:[email protected]] För
> Parrera
> Skickat: den 13 september 2011 23:58
> Till: Trac Users
> Ämne: [Trac] resync
>
> ood night
>
> I'm not getting my environment to synchronize trac with the repository
> svn:
>
> # trac-admin projects/svn/nameproject/ resync
>
> my command is correct?
>
> thanks!
>
--
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.