- Sort children branches by revision number rather than by date since a few RCS

files have the wrong date.
This commit is contained in:
Ulf Lilleengen 2009-01-04 18:18:59 +00:00
parent 5aaa6a0859
commit efb1385dec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/csup_cvsmode/; revision=186744

View File

@ -1243,7 +1243,7 @@ rcsfile_insertdelta(struct branch *b, struct delta *d, int trunk)
} else {
/* XXX: here we depend on the date being set, but it
* should be before this is called anyway. */
if (rcsnum_cmp(d->revdate, d2->revdate) < 0) {
if (rcsnum_cmp(d->revnum, d2->revnum) < 0) {
LIST_INSERT_BEFORE(d2, d, delta_next);
return;
}