I have a question about checking out files when other files with the
same name already exist.

For example:

$ ls
file1

$ cvs co -l .
cvs checkout: Updating
cvs checkout: move away file1; it is in the way
C file1
U file2

$ ls
file1
file2

First, presumably the C means that file1 had a conflict?

Second, and more importantly, cvs now has no idea about the state of
file1. For example, cvs status will show information only for file2.
Would it be possible/desireable/hard/good/bad/ugly to instead have file1
show up in status listings as up to date (if it's the same) or locally
modified (if the contents were different). This would seem to be quite
natural and more useful than the alternative, which is rather manual:

$ mv file1 file1.old

$ cvs update
cvs update: Updating
U file1

$ mv file1.old file1

After which cvs status knows about file1 and considers it modified or up
to date depending on what was there in the first place.

What about providing an option to checkout/update to enable this to be
done automatically?

Any comments or suggestions would be greatly appreciated!
-- 
Cheers,
Derek
_____________________________________________________________________
Derek Scherger                         Echologic Software Corporation
mailto:[EMAIL PROTECTED]                   http://www.echologic.com

Reply via email to