[Top][All Lists]

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

Re: CVSROOT not used

From: Mark D. Baushke
Subject: Re: CVSROOT not used
Date: Tue, 16 May 2006 22:50:01 -0700

Hash: SHA1

Steve Sapovits <address@hidden> writes:

> Stuart Cooper wrote:
> > Double check you've exported your CVSROOT.
> It is exported.
> > Also try
> > cvs -d $CVSROOT
> > which should also work.
> That works.  This doesn't work (shell is ksh):
>    CVSROOT=:ext:address@hidden:/cvsroot cvs diff
> That's trying to force the environment setting at the
> command level.

What does this command tell you?

  cat CVS/Root

It should be a copy of your $CVSROOT as specified when you checked out
the original tree.

You could also use

    CVSROOT=:ext:address@hidden/cvsroot cvs -t -t -t diff

and see what kind of output you get.


  cvs -d `cat CVS/Root` diff

work for you?

> All of these seem to indicate that CVSROOT, while set, is
> not being looked at.  I know, however, that as another user
> I log in as it is being used because I've had to change it.
> The difference seems to be that the user where it doesn't
> work is the only one running commands on the server as a
> different user.  But that all works if I specify CVSROOT
> explicitly via '-d' options.  I'm thinking maybe there could
> also be some setting that overrides CVSROOT but not '-d' --
> like something in a preferences file or something?

The precedence is 

    1) Use the command-line -d cvsroot if it was given.
    2) Any command-line switches in $HOME/.cvsrc on the 'cvs' keyword.
    3) Use the CVS/Root value as the cvsroot if available
    4) Use the CVSROOT environment variable.

This is for CVS, not CVSNT. You may wish to provide the output of

  cvs -t version

if you want more help.

        -- Mark
Version: GnuPG v1.4.3 (FreeBSD)


reply via email to

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