- Sort children branches by revision number rather than by date since a few RCS
files have the wrong date.
This commit is contained in:
parent
5aaa6a0859
commit
efb1385dec
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user