>Submitter-Id:   net
>Originator:     Neil Turton
>Organization:
net
>Confidential:  no
>Synopsis:      pserver based cvs update confused by trailing slash
>Severity:      non-critical
>Priority:      medium
>Category:      cvs
>Class:         sw-bug
>Release:       cvs-1.10.6
>Environment:
System: Linux kodiak.e-14.com 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT 1999 i686 
unknown
Architecture: i686

>Description:
        When invoked in client-server mode, a command like "cvs update dir/"
        gives confusing results.  It seems to be looking at files in the
        current directory as well as the named directory, and getting
        things wrong for the current directory.

>How-To-Repeat:
        The following transcript gives an example of the behaviour.  The
        current directory contains 3 unmodified files, and subdir
        contains several unmodified and 1 modified file.  I would expect
        the first 6 lines of output to be omitted.

        nturton@kodiak:src$ cvs -q update subdir/
        cvs update: move away ./AUTHORS; it is in the way
        C AUTHORS
        cvs update: move away ./COPYING; it is in the way
        C COPYING
        cvs update: move away ./ChangeLog; it is in the way
        C ChangeLog
        M subdir/Makefile.in
        nturton@kodiak:src$   

>Fix:
        Use the form without the trailing slash:
        nturton@kodiak:src$ cvs -q update subdir
        M subdir/Makefile.in

Reply via email to