svn commit: r186744 - projects/csup_cvsmode/contrib/csup

Ulf Lilleengen lulf at FreeBSD.org
Sun Jan 4 18:19:00 UTC 2009


Author: lulf
Date: Sun Jan  4 18:18:59 2009
New Revision: 186744
URL: http://svn.freebsd.org/changeset/base/186744

Log:
  - Sort children branches by revision number rather than by date since a few RCS
    files have the wrong date.

Modified:
  projects/csup_cvsmode/contrib/csup/rcsfile.c

Modified: projects/csup_cvsmode/contrib/csup/rcsfile.c
==============================================================================
--- projects/csup_cvsmode/contrib/csup/rcsfile.c	Sun Jan  4 17:31:01 2009	(r186743)
+++ projects/csup_cvsmode/contrib/csup/rcsfile.c	Sun Jan  4 18:18:59 2009	(r186744)
@@ -1243,7 +1243,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->revnum, d2->revnum) < 0) {
 				LIST_INSERT_BEFORE(d2, d, delta_next);
 				return;
 			}


More information about the svn-src-projects mailing list