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 only preserve timestamps on spec...



details:   https://anonhg.NetBSD.org/src/rev/e18a7e555175
branches:  trunk
changeset: 350104:e18a7e555175
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 04 16:11:20 2017 +0000

description:
only preserve timestamps on specific revisions if we've been asked to.
found by martin@

diffstat:

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

diffs (29 lines):

diff -r 653d9c3cc605 -r e18a7e555175 external/gpl2/xcvs/dist/src/update.c
--- a/external/gpl2/xcvs/dist/src/update.c      Wed Jan 04 15:53:14 2017 +0000
+++ b/external/gpl2/xcvs/dist/src/update.c      Wed Jan 04 16:11:20 2017 +0000
@@ -38,7 +38,7 @@
  * as well.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: update.c,v 1.10 2016/12/19 17:31:47 christos Exp $");
+__RCSID("$NetBSD: update.c,v 1.11 2017/01/04 16:11:20 christos Exp $");
 
 #include "cvs.h"
 #include <assert.h>
@@ -1382,7 +1382,6 @@
 
            xvers_ts = Version_TS (finfo, options, tag, date, 
                                   force_tag_match, set_time);
-
            if (strcmp (xvers_ts->options, "-V4") == 0)
                xvers_ts->options[0] = '\0';
 
@@ -1777,7 +1776,7 @@
         /* This stuff is just copied blindly from checkout_file.  I
           don't really know what it does.  */
         xvers_ts = Version_TS (finfo, options, tag, date,
-                              force_tag_match, 1);
+                              force_tag_match, preserve_timestamps_on_update);
        if (strcmp (xvers_ts->options, "-V4") == 0)
            xvers_ts->options[0] = '\0';
 



Home | Main Index | Thread Index | Old Index