Fix #126: Sort SVN changesets by numeric revision
To better handle merged SVN repositories, it is necessary to retrieve
the latest changeset from the database based on integer revision number
rather than by timestamp.  This will prevent an "infinite loop" of
repeatedly importing the same changesets in cases where the latest
revisions were actually committed before earlier changesets.

Using ANSI SQL's `CAST(? AS DECIMAL)` as it seems to be compatible with
the most database platforms.
1 parent f929e74 commit b9ef2021a3a7fc07388917934ef45de7876a823f
@John Reese John Reese authored on 8 Apr 2010
Showing 1 changed file
View
SourceSVN/SourceSVN.php