Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9546 closed enhancement (fixed)

Log mercurial's errors opening repository

Reported by: Alessio Franceschelli <dev@…> Owned by:
Priority: normal Milestone: plugin - mercurial
Component: plugin/mercurial Version: 0.12-stable
Severity: minor Keywords: mercurial hg log
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I had some issues with mercurial (multiple python and mercurial version) so I wrote a very little patch to help troubleshooting mercurial errors.

It simply adds a message in the Trac error log, when nercurial fails to open the repository, with mercurial version and the error message thrown by mercurial.

I think it can be useful, so I post it here.

Attachments (1)

log_error_hg.patch (1.1 KB ) - added by Alessio Franceschelli <dev@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

by Alessio Franceschelli <dev@…>, 14 years ago

Attachment: log_error_hg.patch added

comment:1 by Christian Boos, 14 years ago

Milestone: plugin - mercurial

Thanks, I'll have a look (whenever I'll work again on the TracMercurial plugin…).

comment:2 by Christian Boos, 14 years ago

Resolution: fixed
Status: newclosed

Similar change applied in r10520. Thanks for the suggestion & initial patch!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.