NetBSD Problem Report #56256
From www@netbsd.org Thu Jun 17 19:33:48 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 699111A921F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jun 2021 19:33:48 +0000 (UTC)
Message-Id: <20210617193346.AD5C41A923D@mollari.NetBSD.org>
Date: Thu, 17 Jun 2021 19:33:46 +0000 (UTC)
From: germain@lanvaux.fr
Reply-To: germain@lanvaux.fr
To: gnats-bugs@NetBSD.org
Subject: cvs info doc incorrect for update -D
X-Send-Pr-Version: www-1.0
>Number: 56256
>Category: bin
>Synopsis: cvs info doc incorrect for update -D
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 17 19:35:00 +0000 2021
>Closed-Date: Mon Jun 21 03:41:32 +0000 2021
>Last-Modified: Mon Jun 21 03:41:32 +0000 2021
>Originator: Germain
>Release: current
>Organization:
Lanvaux Computer Games Limited
>Environment:
NetBSD germ 8.99.51 NetBSD 8.99.51 (GENERIC) #2: Thu Jul 18 16:25:29 PDT 2019 german@germ:/home/german/work/netbsd/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
the info doc for CVS says that punching in `cvs update -D...' implies -P,
However after testing, it looks like -P needs indeed to be specified for empty directories to be culled out (so I suppose either one is wrong: the doc or the behavior ;p)
from googling quickly around it looked like -P is implied *only* for check-out
>How-To-Repeat:
the problem is in the documentation
What I did is run `cvs update -CD 20210101 -d' in `/usr/src/usr.bin/ktrace' expecting the ktrace sub-directory to go away. It only did after specifying `-P'
Meanwhile, §A.24.1 (update options) of the cvs info document states:
<<`-D date'
Use the most recent revision no later than DATE. This option is
sticky, and implies `-P'. >>
>Fix:
Index: cvs.texinfo
===================================================================
RCS file: /cvsroot/src/external/gpl2/xcvs/dist/doc/cvs.texinfo,v
retrieving revision 1.14
diff -u -r1.14 cvs.texinfo
--- cvs.texinfo 6 Jul 2019 00:10:25 -0000 1.14
+++ cvs.texinfo 17 Jun 2021 19:31:37 -0000
@@ -11807,7 +11807,7 @@
@table @code
@item -D date
Use the most recent revision no later than @var{date}.
-This option is sticky, and implies @samp{-P}.
+This option is sticky.
See @ref{Sticky tags}, for more information on sticky tags/dates.
@item -f
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56256 CVS commit: src/external/gpl2/xcvs/dist/doc
Date: Sun, 20 Jun 2021 22:48:01 -0400
Module Name: src
Committed By: christos
Date: Mon Jun 21 02:48:01 UTC 2021
Modified Files:
src/external/gpl2/xcvs/dist/doc: cvs.texinfo
Log Message:
PR/56256: Germain: cvs info doc incorrect for update -D
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl2/xcvs/dist/doc/cvs.texinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 21 Jun 2021 03:41:32 +0000
State-Changed-Why:
christos committed it, thanks
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.