Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#7285 closed defect (worksforme)

Trac Exception when trying to show a transplanted changeset (Mercurial)

Reported by: bastian.doetsch@… Owned by: Christian Boos
Priority: normal Milestone:
Component: plugin/mercurial Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

You can see the bug in action at

http://trac-hg.assembla.com/mercurialeclipse/changeset/565%3A9766ed30b3ea

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 212, in process_request
    escape_newlines=True)
  File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 1001, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 824, in format
    result = re.sub(self.wiki.rules, self.replace, line)
  File "/usr/local/lib/python2.4/sre.py", line 142, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 770, in replace
    replacement = self.handle_match(fullmatch)
  File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 763, in handle_match
    return external_handler(self, match, fullmatch)
  File "build/bdist.freebsd-6.2-RELEASE-i386/egg/tracvc/hg/backend.py", line 87, in <lambda>
  File "build/bdist.freebsd-6.2-RELEASE-i386/egg/tracvc/hg/backend.py", line 104, in _format_link
  File "build/bdist.freebsd-6.2-RELEASE-i386/egg/tracvc/hg/backend.py", line 201, in get_changeset
  File "build/bdist.freebsd-6.2-RELEASE-i386/egg/tracvc/hg/backend.py", line 173, in hg_node
  File "/usr/local/lib/python2.4/site-packages/mercurial/localrepo.py", line 363, in lookup
    n = self.changelog._match(key)
  File "/usr/local/lib/python2.4/site-packages/mercurial/revlog.py", line 790, in _match
    r = self.rev(node)
  File "/usr/local/lib/python2.4/site-packages/mercurial/revlog.py", line 480, in rev
    raise LookupError(_('%s: no node %s') % (self.indexfile, hex(node)))
LookupError: 00changelog.i: no node fff704d640ab0195764ee0969a58990fe476ef31

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 12 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

Already fixed some time ago in r6812.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.