Modify

Opened 6 years ago

Closed 6 years ago

#3292 closed defect (wontfix)

MergeInfoEnhancer, no node at revision

Reported by: alexhalf@… Owned by: eblot
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)

Change History (1)

comment:1 Changed 6 years ago by eblot

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

There are no merge enhancer for Trac 0.10

Moreover, RevtreePlugin is no longer maintained for this Trac release, see RevtreePlugin#RecentChanges

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.