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. |
---|
|
SourceSVN/SourceSVN.php |
---|