On Fri, 28 Jan 2005, Andrew Jorgensen wrote:
I once renamed a file to change it's case, which made the windows client on another developers box throw fits, but unfortunately CVS doesn't even have such a thing as a rename.
Sure it does.
ssh [EMAIL PROTECTED] cd $CVSROOT cd module_name mv oldfilename,v newfilename,v
:)
I hope I can trust that your :) means that you know that this isn't a good solution... right?
If you're using CVS, I only know of two solutions. Copy and delete on the client side, or move on the repository side as Grant suggested. Actually a better way similar to Grant's would be:
Repository: cp -p oldfilename,v newfilename,v
Client: cvs up cvs rm -f oldfilename (edit newfilename trivially) cvs ci
And make a commit comment explaining the "rename" both in the old file and the new file. That preserves history on both ends, and explains what happened to the file for anyone looking.
Does someone have a better method than this? (Again, assuming CVS, not "switch to version control system X".)
Jon
-- Jon Jensen End Point Corporation http://www.endpoint.com/ Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...
--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
