<div class="gmail_quote">On Wed, Aug 12, 2009 at 6:33 PM, David McGlone <span dir="ltr"><<a href="mailto:david@dmcentral.net">david@dmcentral.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For one, I am wondering how changes are applied to a "final copy" for instance,<br>
say I have a repository with index.php in it and I have a working folder that<br>
I have checked out index.php to, Ok now supposed I change the copy of<br>
index.php in my "working" folder, I then comment the changes to the<br>
repository, the changes go into a file called "index.php,v" but I cannot for<br>
the life of me figure out how to apply the changes of the "index.php,v"  to the<br>
"index.php" file in the repository.<br>
</blockquote><div><br>It sounds like three directories will work:<br>1) Repository<br>2) Working directory for development<br>3) Working directory for releases<br><br>You would...<br>1) Check out the repository to the development working directory.<br>
2) Make code changes in the development working directory.<br>3) Commit changes to the repository.<br>4) Check out the repository to the release working directory.<br>5) Upload files from the release directory.<br><br>This seems a little weird for a one person setup. Think of it more in a company setting. The people who make code changes (developers) do not deliver them (release specialists). The developers commit to the repository as work finishes. The release guys pull from the repository on a regular schedule - like every 6 months.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My biggest problem is it doesn't make sense to upload the copy you are working<br>
on, it makes sense to upload the copy in cvs, but it seems impossible.<br>
</blockquote></div><br>CVS stores the initial copy in index.php. The index.php,v file holds all of the changes made since that initial version. The CVS "checkout" command automatically applies all of the changes for you.<br>
<br>It's easier to do everything from a working directory. Then you don't need to muck with that behind-the-scenes processing. Having two working directories separates the development code from the release version until you're ready.<br>
<br>Hope that helps.<br clear="all"><br>-- <br>Robert Wohlfarth<br><br>