diff options
author | lulf <lulf@FreeBSD.org> | 2009-01-04 18:18:59 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-01-04 18:18:59 +0000 |
commit | 760895aea17400351c16a539e3819fa3b7b666d8 (patch) | |
tree | 784587a4f6e1af574f348bf46f8d78a4be9c99ba /contrib | |
parent | dc75d3e533231b28e8e8b887527288108349e86c (diff) | |
download | FreeBSD-src-760895aea17400351c16a539e3819fa3b7b666d8.zip FreeBSD-src-760895aea17400351c16a539e3819fa3b7b666d8.tar.gz |
- Sort children branches by revision number rather than by date since a few RCS
files have the wrong date.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/csup/rcsfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/rcsfile.c b/contrib/csup/rcsfile.c index 4f9b085..0d823e8 100644 --- a/contrib/csup/rcsfile.c +++ b/contrib/csup/rcsfile.c @@ -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; } |