Opened 20 years ago
Last modified 18 years ago
#342 closed defect
Exception when browsing non-existent revisions — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | 0.7.1 |
Component: | version control/browser | Version: | 0.6.1 |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When manually requesting a non-existent revision number, the browser raises an exception. The browser should check whether a requested revision number is valid before attempting to fetch / display it, and handle this case gracefully by displaying a more easily understandable message to the end user ("sorry, revision X does not exist in the repository" or some such).
Oops... Trac detected an internal error: ("Reference to non-existent revision '8' in filesystem '/path/to/svnroot/repos/test/db'", 160006) If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team. Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it and don't forget to include the python traceback found below. TracGuide -- The Trac User and Administration Guide Python traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/trac.py", line 254, in main real_main() File "/usr/lib/python2.3/site-packages/trac/trac.py", line 208, in real_main module.run() File "/usr/lib/python2.3/site-packages/trac/Module.py", line 38, in run self.render() File "/usr/lib/python2.3/site-packages/trac/Browser.py", line 137, in render info = self.get_info(path, rev, rev_specified) File "/usr/lib/python2.3/site-packages/trac/Browser.py", line 38, in get_info root = fs.revision_root(self.fs_ptr, revision, self.pool) SubversionException: ("Reference to non-existent revision '8' in filesystem '/path/to/svnroot/repos/test/db'", 160006)
Note:
See TracTickets
for help on using tickets.