fix bug 822774 - Prevent revision list wrapping
Merge pull request #804 from darkwing/history-wrap-822774

fix bug 822774 - Prevent revision list wrapping