Modify ↓
Opened 17 years ago
Closed 17 years ago
#3292 closed defect (wontfix)
MergeInfoEnhancer, no node at revision
| Reported by: | Owned by: | Emmanuel Blot | |
|---|---|---|---|
| Priority: | normal | Component: | RevtreePlugin |
| Severity: | normal | Keywords: | |
| Cc: | alexhalf@… | Trac Release: | 0.10 |
Description
I installed mergeinfoenhancer to trac 0.10.3. And I got the following message: Trac[main] WARNING: 500 Internal Error (No node _trunk at revision 464)
I investigated my problem and found that the get_merge_info function is called with short path.
For example:
/myproj1/ticket1(rev.1) -> /myproj1/ticket2(rev.2)
As result get_merge_info is called with (1, 'ticket1') and get error from subversion as repository have not got the ticket1 path with 1 revision.
Resolve: (enhancer.py:84)
if chgsets and chgsets[0].clone:
(srev, spath) = branch.source()
lbranch = repos.changeset(int(srev))
if lbranch is not None:
srcmergeprops = get_merge_info(self, repos, lbranch.branchname, srev)
"""srcmergeprops = get_merge_info(self, repos, spath, srev)"""
Attachments (0)
Note: See
TracTickets for help on using
tickets.



There are no merge enhancer for Trac 0.10
Moreover, RevtreePlugin is no longer maintained for this Trac release, see RevtreePlugin#RecentChanges