info-cvs
[Top][All Lists]
Advanced

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

Re: 'cvs status' returns error if I delete a directory in my local worki


From: Russ Sherk
Subject: Re: 'cvs status' returns error if I delete a directory in my local working copy
Date: Sat, 23 Apr 2005 08:31:57 -0400

On 4/22/05, Todd Foster <address@hidden> wrote:
> We have a top-level script that does several cvs checkouts from multiple
> repositories to create a local working copy for the end-user (basically
> brings in source code from several projects in order to compile correctly).
> For discussion purposes, let's say the result of two 'cvs checkout' commands
> is the following directory structure.
> 
>   .
>   |- Dir1            : Dir1 comes from Repository1
>   `- tools          : tools/ comes from Repository1 (with no files within
> tools/)
>       |- Dir2        : Dir2 comes from Repository1
>       `- Dir3       : Dir3 comes from Repository2
Um... how did you arive at this directory structure?  (what are the
exact cvs commands used to check out?)

If you are doing some sort of copy operation, then it is possible that
(if the checked out Dir3 is copied last) that the CVS dir is
overwritten (by repository2's checkout info) thus there will be no
record of Dir2.

--Russ
> 
> Note: the 'cvs checkout' for Repository 1 (creating Dir1, tools/ and
> tools/Dir2)  is done first initially creating the local working copy and
> Repository 2 is always second (creating Dir3).
> 
> If for some reason, Dir3 is deleted, then cvs status returns an error
> message:
> 
> cvs status: Examining Dir3
> cvs [status aborted]: could not chdir to Dir3: No such file or directory
> 
> If I delete the line in CVS/Entries within tools/ for Dir3 (D/Dir3////), the
> 'cvs status' begins working again.
> 
> The oddity, is that if I delete tools/Dir2 (instead of Dir3), then 'cvs
> status' completes with no errors.  For this case, there still exists an
> entry in the tools/CVS/Entries file for Dir2 (D/Dir3////).
> 
> Is this expected behavior?  I'm asking because there are some
> inconsistencies in the 'cvs status' behavior.
> 
> Thanks,
> 
> Todd
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-cvs
>




reply via email to

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