Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5544 closed defect (fixed)

TracMercurial: Internal Error when displaying changeset with renamed file

Reported by: anonymous Owned by: Christian Boos
Priority: normal Milestone: not applicable
Component: version control Version:
Severity: normal Keywords: mercurial
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

I have been happily using TracMercurial 0.10.0.2 (with Trac 0.10.4) for the SableCC project. But, lately, I checked-in a revision in which I renamed a file without modifying its content. As a result, I get an Internal Error when I try to display the changeset. You can see by yourself at: http://sablecc.org/changeset/a461cc718749.

Note that in another changeset, I had renamed a file but also changed its content; in that case there is no problem, as you can see at: http://sablecc.org/changeset/be96bbb552fc.

If it can be of any use for your tests, you can clone the repository as follows:

$ hg clone http://sablecc.org/repository/sablecc.org

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 18 years ago

Keywords: mercurial added
Milestone: not applicable

Bug confirmed (for the sandbox/mercurial-plugin-0.11 branch as well)

comment:2 by Christian Boos, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r5699 (sandbox/mercurial-plugin-0.11) and ported for the 0.10 sandbox/mercurial-plugin in r5700.

Please let me know if the 0.10 branch works for you, as I was too lazy to test it ;-)

comment:3 by anonymous, 18 years ago

Wow! That's called fixing bugs fast!

As I'm currently using a Debian packages version of Trac, it will take me probable a few hours to figure out how to make clean install out of svn that won't break everything on my server. Will report back about it as soon as I get it working.

Thanks a lot!

comment:4 by anonymous, 18 years ago

Silly me! I wasn't using a Debian package for the TracMercurial plugin. Setting it up was easy, as you can witness at http://sablecc.org/changeset/a461cc718749. :-)

Yes, it does work.

Thanks again!

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.