Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/xcvs/dist/src remove obsolete comment, flip po...



details:   https://anonhg.NetBSD.org/src/rev/7f6313145ff7
branches:  trunk
changeset: 819838:7f6313145ff7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 19 04:54:49 2016 +0000

description:
remove obsolete comment, flip polarity.

diffstat:

 external/gpl2/xcvs/dist/src/update.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 1daf518c8fd0 -r 7f6313145ff7 external/gpl2/xcvs/dist/src/update.c
--- a/external/gpl2/xcvs/dist/src/update.c      Mon Dec 19 04:52:17 2016 +0000
+++ b/external/gpl2/xcvs/dist/src/update.c      Mon Dec 19 04:54:49 2016 +0000
@@ -38,7 +38,7 @@
  * as well.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: update.c,v 1.8 2016/12/19 04:44:35 christos Exp $");
+__RCSID("$NetBSD: update.c,v 1.9 2016/12/19 04:54:49 christos Exp $");
 
 #include "cvs.h"
 #include <assert.h>
@@ -1373,11 +1373,7 @@
            /* set the time from the RCS file iff it was unknown before */
            set_time =
                (!noexec
-               /*
-                * 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);



Home | Main Index | Thread Index | Old Index