Edgewall Software

Ticket #7285 (closed defect: worksforme)

Opened 7 months ago

Last modified 7 months ago

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

Reported by: bastian.doetsch@… Owned by: cboos
Priority: normal Milestone:
Component: plugin/mercurial Version:
Severity: normal Keywords:
Cc:

Description (last modified by cboos) (diff)

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

Change History

Changed 7 months ago by cboos

  • status changed from new to closed
  • resolution set to worksforme
  • description modified (diff)

Already fixed some time ago in r6812.

Add/Change #7285 (Trac Exception when trying to show a transplanted changeset (Mercurial))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.