#7974 closed defect (duplicate)
UnicodeDecodeError showing transplanted revision
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | plugin/mercurial | Version: | 0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Transplanted changesets include an extra field 'transplanted_source', containing the original changeset hash (as a 20-byte buffer). The content is returned as-is by the plugin, so it triggers an UnicodeDecodeError when rendering.
I'd suggest simply discarding unknown extra fields. IMHO, there isn't a good way to display these fields generically, since they don't carry type information. And they're usually interesting only to extensions, since they can't be created with a regular commit.
For transplant_source in particular, it would be nice showing a link to the transplanted revision - or simply its ID, if the original revision isn't available (could happen on transplants across branches).
Attachments (0)
Change History (4)
follow-up: 2 comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
follow-ups: 3 4 comment:2 by , 16 years ago
comment:3 by , 16 years ago
comment:4 by , 16 years ago
Replying to wbruna@…:
… it's good to keep this ticket around, since Debian Lenny will ship version 0.11.
Thanks, this prompted me to update the TracMercurial page with a reference to the recent stable revisions (r7744 / r7757).
Replying to wbruna@…:
It already should do so, please upgrade :-) - see #7471.