[cvsnt] Re: Starting out with CVS,

david.arendash at manyone.net david.arendash at manyone.net
Sat Oct 30 19:49:32 BST 2004


Thanks for that. Another (hopefully) quick question:

If I delete files from my sandbox folder because they are obsolete,
or rename them, when I do a commit, will this be reflected in CVS,
such that when I check-out again, I won't get the deleted files,
or the renamed files?

Thanks

Dave A.

On Sat, 30 Oct 2004 20:04:25 +0200, Luigi D. Sandon wrote:

>> I am confused on how the dir c:\cvsrepo relates to my web site files which
>> are in c:\inetpub\wwwroot\mysite
>
>c:\cvsrepo is the repository. Think it as a "database" were all changes to a
>file are recorded. The repository *can't* and *must not* used for anything
>but to store the files and their histories. Files are recorded in RCS format
>(which stores all file changes, not only the file)  and usually can't be
>used as they are.
>
>Usually, the way to use CVS is:
>
>1) File are imported and stored in the repository (import).
>2) Files are "checked out" locally in a "sandbox", or "working directory",
>where they can be changed. CVS will create some CVS subdirs where it stores
>some control files.
>3) Changed files are "commited" (stored) to the repository, and new version
>can be retrieved via the "update" command.
>4) Whenever a version need to be retrieved from the repository without
>creating a "sandbox", the "export" command can be used. It works like
>checkout, but does not create the CVS control subfolders.
>
>Therefore, you should work this way:
>
>1) The web sites files are imported into the repository from your source
>dir.
>2) Every developer will check out a local copy in his working directory. I
>don't know how you work, if every developer works in his own working
>directory (I hope so), or they work in a shared one. They will update to see
>other changes, and commit their own changes.
>3) To deploy a new release of the website, export the the release you want
>from the repository to your web site folder (c:\inetpub\wwwroot\mysite)
>
>-- 
>Luigi D. Sandon
>cp at sandon.it
>
>
>_______________________________________________
>cvsnt mailing list
>cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>


"Some men see things as they are and say why? I dream things that never were and say "Why not?" -- Robert Francis Kennedy

"Never doubt that a small group of committed people can change the world;
indeed, it is the only thing that ever has."
--Margaret Mead, anthropologist





More information about the cvsnt mailing list