<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CVS Tutorial Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/cvs-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/cvs-tutorial/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:55:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>What are the Best Practices of CVS?</title>
		<link>https://www.scmgalaxy.com/tutorials/cvs-best-practices-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/cvs-best-practices-2/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 29 Jan 2009 09:39:24 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Best Practices of CVs]]></category>
		<category><![CDATA[CVS Best Practices]]></category>
		<category><![CDATA[CVS Best Practices Guide]]></category>
		<category><![CDATA[CVS Best Practices Tips]]></category>
		<category><![CDATA[CVS Guide]]></category>
		<category><![CDATA[CVS Tips]]></category>
		<category><![CDATA[CVS Tips & Tricks]]></category>
		<category><![CDATA[CVS Tutorial]]></category>
		<category><![CDATA[list of CVS Best Practices]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/29/cvs-best-practices-2/</guid>

					<description><![CDATA[<p>CVS Best Practices   These are list of CVS Best Practices: * Don’t share workspaces Sharing workspaces compromises CVS’s ability [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-best-practices-2/">What are the Best Practices of CVS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p align="center"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3997" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices-1.png" alt="cvs-best-practices" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices-1-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 14pt;">CVS Best Practices</span><span style="font-size: 10pt;"><br />
</span></p>
<p class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt;"> </span></p>
<p class="MsoNormal"><strong>These are list of CVS Best Practices:</strong></p>
<p class="MsoNormal"><strong>* Don’t share workspaces</strong></p>
<p class="MsoNormal">Sharing workspaces compromises CVS’s ability to track activity by user or task.</p>
<p class="MsoNormal"><strong>* Don’t work outside of managed workspaces</strong></p>
<p class="MsoNormal">CVS can only track work in progress when it takes place within managed workspaces. Never copy files from others sandboxes or even from outside your sandbox since you may overwrite somebody else’s code.</p>
<p class="MsoNormal"><strong>* Don’t use jello views</strong></p>
<p class="MsoNormal">A file in your workspace should not change unless you explicitly cause the change. A &#8220;jello view&#8221; is a workspace where file changes are caused by external events beyond your control e.g. workspace built upon a tree of symbolic links to files in another workspace.</p>
<p class="MsoNormal"><strong>* Stay in sync with the codeline</strong></p>
<p class="MsoNormal">The quality of your work depends largely on how well it meshes with others work. In other words, as changes are checked into the codeline, you should update your workspace and integrate those changes with yours. Update your code at least once in the morning daily.</p>
<p class="MsoNormal"><strong>* Checkin code daily</strong></p>
<p class="MsoNormal">Integrating your development work with other peoples&#8217; work also requires you to check in your changes regularly. Don’t keep your new code lying in your workspace for many days at a time. This may lead to many conflicts at a later stage when you try to merge.</p>
<p class="MsoNormal"><strong>* Never check in without compiling and testing your code</strong></p>
<p class="MsoNormal"><strong>* Always update your modules/ files and resolve any conflicts before committing</strong></p>
<p class="MsoBodyText">* After committing changes, diff with previous version to make sure you did not accidentally overwrite anybody else’s code</p>
<p class="MsoNormal"><strong>* If you overwrite somebody else’s code, rollback</strong></p>
<p class="MsoBodyText">* Always communicate any changes you commit, to all those concerned with the module/ file that was changed</p>
<p class="MsoNormal"><strong>* Always add comments when committing changes</strong></p>
<p class="MsoNormal">Good and meaningful comments make it easy for others to know exactly what was changed. For e.g. if it’s a bug fix it should have a Bug Number.</p>
<p class="MsoNormal"><strong>* Add whitespaces with discretion</strong></p>
<p class="MsoNormal">Changes to whitespaces cause unnecessary updates to happen and may show conflicts during merges</p>
<p class="MsoNormal">
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-best-practices-2/">What are the Best Practices of CVS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/cvs-best-practices-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>CVS Best Practices &#8211; List of CVS Best Practices &#8211; CVS Tips</title>
		<link>https://www.scmgalaxy.com/tutorials/cvs-best-practices/</link>
					<comments>https://www.scmgalaxy.com/tutorials/cvs-best-practices/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 13 Jan 2009 12:38:42 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Best Practices for CVs]]></category>
		<category><![CDATA[CVS Best Practices]]></category>
		<category><![CDATA[CVS Best Practices Guide]]></category>
		<category><![CDATA[CVS Best Practices Tips]]></category>
		<category><![CDATA[CVS Guide]]></category>
		<category><![CDATA[CVS Tips]]></category>
		<category><![CDATA[CVS Tutorial]]></category>
		<category><![CDATA[list of CVS Best Practices]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/13/cvs-best-practices/</guid>

					<description><![CDATA[<p>CVS Best Practices These are list of CVS Best Practices: * Don’t share workspaces Sharing workspaces compromises CVS’s ability to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-best-practices/">CVS Best Practices &#8211; List of CVS Best Practices &#8211; CVS Tips</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3955" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices.png" alt="cvs-best-practices" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-best-practices-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>CVS Best Practices</p>
<p><strong>These are list of CVS Best Practices:</strong></p>
<p><strong>* Don’t share workspaces</strong></p>
<p>Sharing workspaces compromises CVS’s ability to track activity by user or task.</p>
<p><strong>* Don’t work outside of managed workspaces</strong></p>
<p>CVS can only track work in progress when it takes place within managed workspaces. Never copy files from others sandboxes or even from outside your sandbox since you may overwrite somebody else’s code.</p>
<p><strong>* Don’t use jello views</strong></p>
<p>A file in your workspace should not change unless you explicitly cause the change. A &#8220;jello view&#8221; is a workspace where file changes are caused by external events beyond your control e.g. workspace built upon a tree of symbolic links to files in another workspace.</p>
<p><strong>* Stay in sync with the codeline</strong></p>
<p>The quality of your work depends largely on how well it meshes with others work. In other words, as changes are checked into the codeline, you should update your workspace and integrate those changes with yours. Update your code at least once in the morning daily.</p>
<p><strong>* Checkin code daily</strong></p>
<p>Integrating your development work with other peoples&#8217; work also requires you to check in your changes regularly. Don’t keep your new code lying in your workspace for many days at a time. This may lead to many conflicts at a later stage when you try to merge.</p>
<p><strong>* Never check in without compiling and testing your code</strong></p>
<p><strong>* Always update your modules/ files and resolve any conflicts before committing</strong></p>
<p>* After committing changes, diff with previous version to make sure you did not accidentally overwrite anybody else’s code</p>
<p><strong>* If you overwrite somebody else’s code, rollback</strong></p>
<p>* Always communicate any changes you commit, to all those concerned with the module/ file that was changed</p>
<p><strong>* Always add comments when committing changes</strong></p>
<p>Good and meaningful comments make it easy for others to know exactly what was changed. For e.g. if it’s a bug fix it should have a Bug Number.</p>
<p><strong>* Add whitespaces with discretion</strong></p>
<p>Changes to whitespaces cause unnecessary updates to happen and may show conflicts during merges</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-best-practices/">CVS Best Practices &#8211; List of CVS Best Practices &#8211; CVS Tips</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/cvs-best-practices/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Share common projects with two different projects in CVS</title>
		<link>https://www.scmgalaxy.com/tutorials/share-common-projects-with-two-different-projects-in-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/share-common-projects-with-two-different-projects-in-cvs/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 07 Jan 2009 06:08:42 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Common]]></category>
		<category><![CDATA[CVS different projects sharing]]></category>
		<category><![CDATA[CVS Guide]]></category>
		<category><![CDATA[CVS projects sharing]]></category>
		<category><![CDATA[CVS Tutorial]]></category>
		<category><![CDATA[Different]]></category>
		<category><![CDATA[Different projects]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Multiple projects]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Projects in CVS]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Sharing projects with CVS]]></category>
		<category><![CDATA[Tow Different Projects]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/07/share-common-projects-with-two-different-projects-in-cvs/</guid>

					<description><![CDATA[<p>Share common projects with two different projects in CVS If there are two or more projects in the repository, some of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/share-common-projects-with-two-different-projects-in-cvs/">Share common projects with two different projects in CVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3936 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/share-common-projects-with-.png" alt="projects-in-cvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/share-common-projects-with-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/share-common-projects-with--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Share common projects with two different projects in CVS</span></span></strong><strong><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></strong><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">If there are two or more projects in the repository, some of the files are common in these two projects and some are different.</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">How to share the files that are same between these projects? How can archive this?</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">How Changes in common files be reflected to both projects.</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Version of CVS 2.5.03</span></span><span style="font-family: Verdana;"><span style="color: #000000; font-size: medium;"> </span></span><span style="font-family: Verdana;"><span style="color: #000000; font-size: medium;"> </span></span></p>
<p><strong><span style="font-family: Verdana;"><span style="font-size: medium;"><span style="color: #000000;">Answer: </span></span></span></strong><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">The CVSROOT/modules2 file or the older CVSROOT/modules file can help with this sort of thing:</span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><a href="http://cvsnt.org/manual/html/Administrative-files.html#modules"><u><span style="color: #0000ff;">http://cvsnt.org/manual/html/Administrative-files.html#modules</span></u></a></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Or</span></span><span style="font-size: 10pt; font-family: Verdana;"><a href="http://cvsnt.org/manual/html/modules2.html"><u><span style="color: #0000ff;">http://cvsnt.org/manual/html/modules2.html</span></u></a></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Generally the best CM independent solution is to organise your project source code hierarchy within the CM tool in such a way that &#8216;common&#8217;</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">code is in a project/module/directory of it&#8217;s own so it can be checked out and managed independently of other projects, ie:</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">/repo/proja</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">/repo/projb</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">/repo/common</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Then you define a module where &#8216;projecta&#8217; = &#8216;proja&#8217;+&#8217;common&#8217; so when a person does &#8216;cvs co projecta&#8217; they  get:</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">/projecta/proja</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">/projecta/common</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">If your server is running on Linux then you can &#8216;cheat&#8217; by simply symbolically linking the RCS file into two directories (though this may cause locking conflicts if the files are very busy).</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;"> </span></span></p>
<p><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Thanks to:</span></span><span style="font-size: 10pt; font-family: Verdana;"><span style="color: #000000;">Arthur Barrett</span></span><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"> </span></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/share-common-projects-with-two-different-projects-in-cvs/">Share common projects with two different projects in CVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/share-common-projects-with-two-different-projects-in-cvs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
