Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#265 closed enhancement (wontfix)

Rewrite Source Links

Reported by: trac-hacks.org@… Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: minor Keywords: rewrite links
Cc: Trac Release:

Description

I am considering changing the structure of my Subversion repository by moving all of the top-level directories into a common directory instead. I would like Trac to remain pointed at the current top-level, but this will mean that all of my source links will be incorrect. Is there any hack script that can rewrite source links?

To further clarify, my current source structure looks like this:

root --> (dirA, dirB, dirC, ...)

I want to change it to this:

root --> commonDir --> (dirA, dirB, dirC, ...)

So all of the current source paths would need "commonDir/" prepended to them.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by trac-hacks.org@…

Resolution: wontfix
Severity: blockerminor
Status: newclosed

I am handling this by doing a search and replace on the SQL dump of the database, and then creating a new database with the SQL. This seems like the most reasonable way to proceed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anybody.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.