svn commit: r185569 - projects/csup_cvsmode/contrib/csup
Ulf Lilleengen
lulf at FreeBSD.org
Tue Dec 2 12:48:45 PST 2008
Author: lulf
Date: Tue Dec 2 20:48:45 2008
New Revision: 185569
URL: http://svn.freebsd.org/changeset/base/185569
Log:
- Fix a bug where deltas was not sorted on RCS dates _and_ revision number.
Modified:
projects/csup_cvsmode/contrib/csup/rcsfile.c
Modified: projects/csup_cvsmode/contrib/csup/rcsfile.c
==============================================================================
--- projects/csup_cvsmode/contrib/csup/rcsfile.c Tue Dec 2 19:49:41 2008 (r185568)
+++ projects/csup_cvsmode/contrib/csup/rcsfile.c Tue Dec 2 20:48:45 2008 (r185569)
@@ -1207,7 +1207,7 @@ rcsfile_insertdelta(struct branch *b, st
} 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->revdate, d2->revdate) < 0) {
LIST_INSERT_BEFORE(d2, d, delta_next);
return;
}
More information about the svn-src-projects
mailing list