> -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Jeff Skyrunner > Sent: 22 October 2014 13:30 > > Good morning everybody. > > I've searched everywhere without finding an appropriate solution, ad I hope > you can help me. > > 1. I've followed this guide (http://trac.edgewall.org/wiki/Ubuntu-11.04- > Subversion) step by step, except the "Automatic reference to the SVN > changesets in Trac tickets", since for the moment I don't care about it; > > 2. I've made the svn update command in /var/lib/svn/YourProject > (without this step svn didn't create the .svn folder) > > 3. I've added the line > > [components] > tracopt.versioncontrol.svn.* = enabled > > in trac.ini
It would be useful to see all relevant lines in your trac.ini, there should be others. > 4. I've entered the admin/Repository section in trac > (http://127.0.0.1:12345/YourProject/admin/versioncontrol/repository) > > 5. I've set the repository (default) with the /var/lib/svn/YourProject > folder > > 6. I've clicked the "Browse source button" and... ""No changeset 0 in the > repository" > > Really I cannot imagine what can be wrong... > > Can anybody help me, please? I've been banging my head on the wall > for 3 weeks now.... Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Actions in the repository happen outside of Trac's influence, so Trac needs to go look and there are two ways it does this. It can check each and every time it gets a browse request (the "old" way, with `repository_sync_per_request` set to true or 1) or you can get svn to prompt trac from the post-commit hook (when you can set `repository_sync_per_request` to false). In both cases, you need to get Trac "up to date" first. The easiest way to do this is to go to your trac environment folder and issue the command: `trac-admin . repository resync "*"` ...which tells Trac to synchronise the current environment with all configured repositories. You should see messages displaying increasing svn revision numbers as the scan works. If not then you have other problems. Once that is done, make sure either that `repository_sync_per_request` is true or that you have the post-commit-hook working, or Trac will not see any new changes. > Many thanks in advance I hope that helps. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG bindings installed and working. Let us know if you get it working (or not) and what you have done. ~ Mark C -- 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. For more options, visit https://groups.google.com/d/optout.
