Module Name: src Committed By: christos Date: Mon Dec 19 04:44:35 UTC 2016
Modified Files: src/external/gpl2/xcvs/dist/src: update.c Log Message: fix reversed logic To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl2/xcvs/dist/src/update.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/xcvs/dist/src/update.c diff -u src/external/gpl2/xcvs/dist/src/update.c:1.7 src/external/gpl2/xcvs/dist/src/update.c:1.8 --- src/external/gpl2/xcvs/dist/src/update.c:1.7 Sun Dec 18 23:37:13 2016 +++ src/external/gpl2/xcvs/dist/src/update.c Sun Dec 18 23:44:35 2016 @@ -38,7 +38,7 @@ * as well. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: update.c,v 1.7 2016/12/19 04:37:13 christos Exp $"); +__RCSID("$NetBSD: update.c,v 1.8 2016/12/19 04:44:35 christos Exp $"); #include "cvs.h" #include <assert.h> @@ -1377,7 +1377,7 @@ VERS: ", 0); * always pass the time to the client, and let it decide * if it is going to set the time */ - && (preserve_timestamps_on_update || + && (!preserve_timestamps_on_update || vers_ts->vn_user == NULL || strncmp (vers_ts->ts_rcs, "Initial", 7) == 0) && !file_is_dead);