[mythtv] CVS "move away XXX; it is in the way" weirdness?

Bruce Markey bjm at lvcm.com
Thu Sep 23 16:11:58 EDT 2004


Joseph A. Caputo wrote:
> On Wednesday 22 September 2004 21:27, Nigel Pearson wrote:
> 
>>% cvs update
>>? libs/libmyth/audiooutputca.cpp
>>? libs/libmyth/audiooutputca.h
>>...
>>cvs update: Updating libs/libmyth
>>cvs update: move away libs/libmyth/audiooutputca.cpp; it is in the
>>way C libs/libmyth/audiooutputca.cpp
>>cvs update: move away libs/libmyth/audiooutputca.h; it is in the way
>>C libs/libmyth/audiooutputca.h
>>
>>
>>	In the way? WTF?
> 
> 
> This could likely have happened if:
> 
> 1. you created this file outside of CVS control
> 2. someone else added the file (or an identically-named file) to the 
> main CVS repository (i.e., you submitted it as a new file in a patch 
> and someone else committed it)
> 3. now, you do a 'cvs update' and CVS discovers there is a new file in 
> the main repository named libs/libmyth/audiooutputca.cpp, which wasn't 
> there the last time it checked.  It tries to fetch the new file from 
> CVS, but it can't create it without clobbering a file of the same name 
> that is not currently under its control, so it complains (rather than 
> just blindly overwriting the file).
> 
> You should:
> 
> 1. temporarily rename the offending files to something non-conflicting
> 2. cvs update
> 3. determine how you want to proceed... do your versions completely 
> supersede CVS, or does CVS completely supersede your version?  Do you 
> need to diff them and patch pieces?
> 
> *or*
> 
> you could try doing a 'cvs add' on the offending files.  Theoretically, 
> this would give them entries in the CVS/Entries file for that 
> directory, with a version of 0.0.  Then cvs should behave OK when you 
> 'cvs update'.  Note that you cannot do 'cvs add' on a new directory 
> unless you have write privileges to the main repository, but adding 
> files in an existing CVS directory should be OK (a quirk of the way CVS 
> works).  The benefit of doing it this way (if it works) is that any 
> changes should be merged correctly.  Just make sure you back them up 
> before trying this.

Actually, I think this happens when the CVSROOT or the path given
on the command line doesn't match the path in the existing
"./CVS/Root" file. If they are not the same it thinks you are
on drugs and in a directory for some other project. Set your
CVSROOT to match what's already in the Root file and it should
be happy.

--  bjm





More information about the mythtv-dev mailing list