Irving Kimura wrote: > I'm sorry for this very stupid question, but after spending a lot > of time reading the CVS documentation, I still don't understand > what *exactly* is the difference between update and checkout. > Could someone explain it to me? There is a little bit of overlap in the functionality.
You use checkout when you have nothing in your working directory yet, i.e. when you're doing a fresh checkout. You use update to refresh an existing checked-out project. If you use the checkout command in an existing working directory, then it will behave as if you issued the "update" command. Clear as mud? :-) Maybe an example will help: mkdir fresh cd fresh # at this point, there is no working directory cvs update # error - there's nothing to update cvs checkout mymodule cd mymodule [some time passes] cvs update # refresh the working copy cvs checkout # refresh the working copy -- Jim Hyslop Senior Software Designer Leitch Technology International Inc. (http://www.leitch.com) Columnist, C/C++ Users Journal (http://www.cuj.com/experts) _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
