Ticket #1075 (assigned defect)
Padre::Plugin::HG error messages and warnings
| Reported by: | zenogantner | Owned by: | code4pay |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | plugins | Version: | trunk |
| Keywords: | Mercurial | Cc: |
Description
How to reproduce:
# Open Padre
# Ensure HG plugin is activated
# Select Tools -> HG -> View Project
1st error: "No document found" => this could be handled more gracefully by graying out "view project" if no non-new document is currently open in Padre.
2nd error: {{{
Unhandled exception in plugin menu: fileparse(): need a valid pathname at /usr/local/share/perl/5.10.1/Padre/Plugin/HG.pm line 476
}}}
Change History
Note: See
TracTickets for help on using
tickets.

At the same time, there is a warning on the console: "my" variable $diff masks earlier declaration in same scope at /usr/local/share/perl/5.10.1/Padre/Plugin/HG/StatusTree.pm line 435.