NetBSD-Bugs archive

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

bin/56256: cvs info doc incorrect for update -D



>Number:         56256
>Category:       bin
>Synopsis:       cvs info doc incorrect for update -D
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 17 19:35:00 +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



Home | Main Index | Thread Index | Old Index