jenkinsci/subversion-plugin — pull request #17 by gmjck (2012-08-22 19:21:55+00:00)
Title: [FIXED JENKINS-14116] Update to older revision

Added check to generation of change set between previous workspace
(prevRev) and current workspace (thisRev) to correctly handle case when
prevRev > thisRev. Change set covers commits [prevRev+1, thisRev], which
is backwards when updating to an older revision, resulting in an
incorrect summary and, if prevRev=HEAD, throwing exceptions and failing
the build since HEAD+1 does not exist. Solution: if prevRev > thisRev,
swap values before generating change set.