[Top][All Lists]

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

Re: CVS 1.11.6: export bug in CVS on (LI/U)nix when CVSROOT env contains

From: Paul Edwards
Subject: Re: CVS 1.11.6: export bug in CVS on (LI/U)nix when CVSROOT env contains trailing slash
Date: Tue, 29 Jul 2003 22:38:50 GMT

"Lane, Roy" <roy.lane@intel.com> wrote in message 
> This problem ONLY occurs when CVSROOT is used to specify the repository.  If
> "-d" is used on the command line, the EXPORT command works correctly with or
> without the trailing slash.
> The code fragment below shows how the problem occurs.  The "if" block is
> only
> entered if CVSROOT is defined and no repository was specified on the command
> line (via -d).  'process_this_directory' becomes "false" because the
> strcmp()

> 1 of 2)   RECURSE.C - 1.11.6, line 570 in do_recursion():
> ---------------------------------------------------------
>     if (
> /* If -d was specified, it should override CVS/Root.

I don't know the solution to the problem, but I am surprised
that "-d" overrides the CVS/Root files.  As an end-user, I
wouldn't expect it to make any difference how I specified my
CVSROOT, I would expect the same behaviour.

I think the behaviour of "-d" is the one that is incorrect,
overwriting the CVS/Root files.

Who's to say that I don't want to change my access method to
a remote repository, but put that into the CVSROOT variable
rather than specify "-d"?

BFN.  Paul.

reply via email to

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