[Top][All Lists]

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

Re: cvs co understands CVSROOT not understood by cvs up

From: Mark D. Baushke
Subject: Re: cvs co understands CVSROOT not understood by cvs up
Date: Tue, 07 Sep 2004 19:45:44 -0700

Hash: SHA1

Alexander Taler <dissent@0--0.org> writes:

> Using the latest stable CVS, I can succesfully check out a
> directory using a pathological CVSROOT specification, but I can't
> subsequently update the directory I checked out.  I propose that
> either update support it or checkout refuse it, but not this.
> I'm happy to create a sanity.sh test-case when agreement is
> reached on what should happen.
> The CVSROOT is for :ext: root, but with the :ext: and the
> optional port separator : dropped.  In this case it's
> "localhost/var/cvs".

Here is my opinion...

I believe that 'localhost/tmp/mdb.testit should either not be legal, or
should have the CVS/Root be the changed to be the canonical form of it.

I suggest that the following should be the valid CVSROOT values for your
localhost repository:

    :ext:`uname -n`/var/cvs
    :ext:`uname -n`:/var/cvs
    :ext:$USER@`uname -n`/var/cvs
    :ext:$USER@`uname -n`:/var/cvs

That is, at least one colon is required to disambiguate from a local

Any other comments out there?

        -- Mark

> Alex
> $ uname -a 
> OpenBSD fire.0--0.org 3.4 GENERIC#85 sparc64
> $ cvs --version                      
> Concurrent Versions System (CVS) (client/server)
> Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn, 
>                         Jeff Polk, and other authors
> CVS may be copied only under the terms of the GNU General Public License,
> a copy of which can be found with the CVS distribution kit.
> Specify the --help option for further information about CVS
> $ 
> $ 
> $ cvs -d localhost/var/cvs co module 
> $ cd module                          
> $ cvs up
> cvs-1.11 update: in directory .:
> cvs-1.11 update: ignoring CVS/Root because it does not contain an absolute 
> pathname.
> cvs-1.11 update: No CVSROOT specified!  Please use the `-d' option
> cvs-1.11 [update aborted]: or set the CVSROOT environment variable.
> $ cat CVS/Root
> localhost/var/cvs
> -- 
> http://libcvs.cvshome.org/    Access CVS through a library. 
> PGP:  ID: 0x23DC453B  FPR: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B
> For every great name in history a hundred others might have been substituted.
>         -- Elias Canetti.  Crowds and Power.  (trans Carol Stewart)
> _______________________________________________
> Bug-cvs mailing list
> Bug-cvs@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-cvs
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]