Modify

Opened 5 years ago

Last modified 2 years ago

#7110 reopened defect

SvnSync doesn't support for multiple repositories

Reported by: anonymous Owned by: k0s
Priority: normal Component: SvnsyncPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

any way to deal with it?

Also upgrade to 0.12?

Attachments (1)

svnsyncplugin-trac-0.12.patch (2.3 KB) - added by leppa 4 years ago.
Trac v0.12 compatibility patch

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by leppa

Trac v0.12 compatibility patch

comment:1 Changed 4 years ago by leppa

  • Resolution set to worksforme
  • Status changed from new to closed

This patch adds support for multiple repositories to SvnsyncPlugin.

How to use it:

  1. Go to Administration/Repositories/Add Repository

Name: <name>
Type: svnsync
Directory: <absolute-path-to-local-repository>1

After saving you'll get an error: Error with navigation contributor "BrowserModule". Ignore it.

  1. Edit the newly created repository.

URL: <url-to-the-remote-repository>2

After saving you may get timeout if your remote repository is big enough. But the sync should begin. Just go to Administration/Repositories and watch the revision field grow to your actual remote repository revision :-)

1 - e.g., /home/trac/svnsync/repo1
2 - e.g., !http://svn.domain.com/snvroot/repo1

It also fixes "TypeError: 'NoneType' object is unsubscriptable" error in Trac v0.12.

WARNING: It's not compatible with Trac < v0.12. Don't apply it if you use Track v0.11 or earlier.

comment:2 Changed 4 years ago by rjollos

  • Resolution worksforme deleted
  • Status changed from closed to reopened
  • Summary changed from SnvSync din't support for multiple repositories:( to SvnSync doesn't support for multiple repositories

Ticket should not be closed if a patch is available, but has not yet been applied.

Add Comment

Modify Ticket

Action
as reopened The owner will remain k0s.
Author


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

 
Note: See TracTickets for help on using tickets.