[Top][All Lists]

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

RE: Question regarding a filename in HEAD vs branch

From: Norman Crisp
Subject: RE: Question regarding a filename in HEAD vs branch
Date: Mon, 24 Apr 2006 20:08:07 -0400

Yes, the foo.GIF,v file was deleted, this is why I am so confused as to why
it keeps coming back on a fresh checkout from a branch.  I just ran from the
top most directory of our repository a find . -name foo.GIF,v and found two
occurrences of this file. One in the ./dir/dir/dir/Attic/foo.GIF,v and the
other in ./CVS_HOME/dir/dir/dir/foo.GIF,v.  Could this be causing the
problem in the branch?  I'm not sure if the CVS_HOME directory is put there
by us or if it is a CVS directory.  Can these file be safely removed?


-----Original Message-----
From: Mark E. Hamilton [mailto:address@hidden 
Sent: Monday, April 24, 2006 5:16 PM
To: Norman Crisp
Cc: address@hidden
Subject: Re: Question regarding a filename in HEAD vs branch

Norman Crisp wrote:
> Thanks for you help Mark.  
> I now realize that this was not handled in the best possible way, a 
> rename would have been better.  What we did was rm foo.GIF,v directly 
> from the repository.  The designer then did a cvs add foo.gif, cvs 
> commit foo.gif into the main truck.  The branch however is still 
> pulling foo.GIF.  I am not sure how to correct this so that the B4 branch
pulls foo.gif.

Sorry, Norm, I misread your initial post, and got my branches mixed up. 
So, reverse the 'main trunk'/branch statements in my first response and it
will be correct. ;)

However, if the foo.GIF,v file was removed from the repository then it's not
possible for any update/checkout for any branch to retrieve that file; it no
longer exists in the repository. Remember that the ,v file contains all the
data related to that file, and all branches/versions/history of it. Once
it's gone, it's gone. So, Jim's reply about Windows and file case seems
likely; I don't do Windows so I defer to those who know more about it.

You didn't say that your designer branched foo.gif; if you haven't then do
so. Then check out the branch in a *new* working directory. I'd expect that
you'd get foo.gif in both the directory and the CVS/Entries file.

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

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