Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312464 - Show History failure - No such revision
Summary: Show History failure - No such revision
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 12:49 EDT by Stanimir Stamenkov CLA
Modified: 2010-07-23 07:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanimir Stamenkov CLA 2010-05-11 12:49:29 EDT
Build Identifier: Eclipse JEE 3.5.2 (Build id: 20100218-1602), Subversive 0.7.8.I20100506-1300

Show History fails when an inexistent revision has been set in the revision range filter of the History view.  This happens quite often to me after viewing the history of one repository setting the filter for it accordingly, then issuing Show History for another repository which doesn't have as much revisions as I've set in the filter for the first one.

The problem is the "Set Revision Range" item in the filter menu becomes disabled, next.  The only way to "unlock" it is to show the history of a repository which has a greater number of the filter specified range (e.g. show the history of the previous repository again), but if one just mistypes a much greater number - the only way is to restart Eclipse.

At minimum the "Set Revision Range" should not get disabled, so one could easily correct the range.  I'm not sure such failure dialog should be shown in this case either (but may be it makes sense) - if the exact case is detected there could be provided a fall back to using a HEAD revision, or may be just show the problem as label located in the History view and not pop dialog boxes.


Reproducible: Always

Steps to Reproduce:
1. Have two SVN repository locations one of which has greater number of revisions;
2. Show the greater history and set a revision filter (either newest or oldest, or both) to a number which is still larger than the largest revision of the smaller repository history;
3. Issue Show History on the smaller repository.

Alternative case:

1. Show History of a repo;
2. Set a revision range to a number which is still larger than the largest revision of the repo.
Comment 1 Igor Burilo CLA 2010-07-23 07:29:15 EDT
Fixed