Modify

Opened 4 years ago

Closed 10 months ago

#6216 closed defect (cantfix)

log:@REVa:REVb broken

Reported by: anonymous Owned by: hvr
Priority: normal Component: GitPlugin
Severity: major Keywords: revisionlog revision log
Cc: Trac Release: 0.11

Description

When linking to a revision log, only the log: syntax can be used. This however, is broken (unless using log:@ or log:@HEAD:HEAD or log:@HEAD, which trac seems fine with), and results in the following error.

ValueError: invalid literal for int() with base 10: 'REVa-REVb'

I'm not sure if this is trac issue or a GitPlugin issue. Either way, I would like to be able to use the syntax.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by anonymous

Further inspection shows the following block of code is at fault:

File "/usr/lib/python2.5/site-packages/trac/util/init.py", line 406, in appendrange

        p = self.pairs
        for x in r.split(","):
            try:
                a, b = map(int, x.split('-', 1))
            except ValueError:
                a, b = int(x), int(x)
            if b >= a:
                p.append((a, b))
        self._reduce()

    def _reduce(self):

comment:2 Changed 4 years ago by hvr

seems related to #3888

comment:3 Changed 10 months ago by jun66j5

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

That is a TracLinks issue which has been reported in t:#11050.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hvr. Next status will be '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.