Modify ↓
Opened 17 years ago
Closed 3 years ago
#2284 closed defect (wontfix)
trac-admin resync fails after installing PerforcePlugin
Reported by: | anonymous | Owned by: | ttressieres |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
After installing the Perforce plugin and all its dependencies, and adding p4trac to the components section of the ini file of a newly initialized environment, I cannot resync with the Perforce repository:
C:\Python24\Scripts>..\python.exe trac-admin c:\tracenv resync Resyncing repository history... Command failed: The 'repository_dir' has changed a 'trac-admin resync' operation is needed
The ini file contains this:
repository_dir = p4://user:password@10.0.0.123:1666/?unicode=0 repository_type = perforce
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
comment:3 Changed 17 years ago by
Owner: | changed from Lewis Baker to ttressieres |
---|---|
Status: | new → assigned |
comment:5 Changed 3 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Plugin is deprecated.
Note: See
TracTickets for help on using
tickets.
I do not get this bug with Trac 0.10.3.1 or previous versions, only with Trac 0.10.4.
This seems to be due to a change in trac/scripts/admin.py, line 675:
Trac 0.10.3.1
Trac 0.10.4
I think p4trac is expecting the "DELETE FROM system WHERE name='repository_dir'" part but not getting it in 0.10.4.