Edgewall Software

Ticket #3367 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

svn browser not dealing well with repo reorgs

Reported by: stig@… Owned by: jonas
Priority: normal Milestone:
Component: version control/browser Version: 0.9.5
Severity: normal Keywords:
Cc:

Description

I am trying out trac but have run into a bit of a show-stopper problem with the trac svn browser. It seems that it is not dealing well with repo reorganisations. My repo *used* to have a {trunk,branches,tags}/{foo,bar} structure, but I reorganised it sometime in the past to be of the form {foo,bar}/{trunk,branches,tags}.

Pointing trac at foo or bar now makes it deeply unhappy. It shows the top-level directory structure, and if you click on the revision history it will show that too. It won't show directory listings inside trunk or tags, however. It will show a directory listing inside branches, probably because the only branch there was created after the reorg.

The problem can be seen here, for the time being:  http://ggtl.org/ggtl/browser

Attachments

Change History

Changed 3 years ago by eblot

Can you elaborate about what you call a "reorganisation":

  1. did you change the repository (i.e. re-create a new repository and load it with new content), or
  2. did you simply create a new revision on top of the existing one with a different organisation)

If you are talking about 1), did you resync Trac after this operation (trac-admin <project> resync) ?

Changed 3 years ago by stig@…

It's the same repo. I essentially did:

svn mv trunk/foo foo/trunk

(Although in realitity I used svk, but that shouldn't make a difference)

As I said I'm currently only evaluating trac so all this reorganisation was done long before trac was pointed at it. I did try to resync but that didn't help.

I have found out that if I point the trac browser to the top-level of the repository the browser works fine; however, now of course it shows a list of all projects available at that level, which isn't what I want.

Changed 3 years ago by mgood

  • status changed from new to closed
  • resolution set to duplicate

This is the same issue as #1830, which has been fixed for the upcoming 0.10 release.

Add/Change #3367 (svn browser not dealing well with repo reorgs)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.