<?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 Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/category/cvs-concurrent-version-system/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/cvs-concurrent-version-system/</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>Stable CVS Version 1.11.23 Released, What&#8217;s new in Perforce CVS 2011.1, let&#8217;s find?</title>
		<link>https://www.scmgalaxy.com/tutorials/stable-cvs-version-11123-released/</link>
					<comments>https://www.scmgalaxy.com/tutorials/stable-cvs-version-11123-released/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 19 Dec 2011 17:09:43 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[CVS 1.11.23 Introduction]]></category>
		<category><![CDATA[CVS 2011.1 Overview]]></category>
		<category><![CDATA[CVS latest version]]></category>
		<category><![CDATA[CVS New Version]]></category>
		<category><![CDATA[CVS Updated Version]]></category>
		<category><![CDATA[CVS Version 1.11.23]]></category>
		<category><![CDATA[Introduction Stable CVS 1.11.23]]></category>
		<category><![CDATA[Latest]]></category>
		<category><![CDATA[Launch]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[New Version]]></category>
		<category><![CDATA[released.]]></category>
		<category><![CDATA[Stable]]></category>
		<category><![CDATA[Stable CVS 1.11.23 Updates]]></category>
		<category><![CDATA[Stable CVS Version 1.11.23]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[What's new in Perforce CVS 2011.1]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2011/12/19/stable-cvs-version-11123-released/</guid>

					<description><![CDATA[<p>Stable CVS 1.11.23 has been released. Stable releases contain only bug fixes from previous versions of CVS. This version includes [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/stable-cvs-version-11123-released/">Stable CVS Version 1.11.23 Released, What&#8217;s new in Perforce CVS 2011.1, let&#8217;s find?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3877 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2011/12/stable-cvs-version.png" alt="stable-cvs-version-1.11.23" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2011/12/stable-cvs-version.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2011/12/stable-cvs-version-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Stable CVS 1.11.23 has been released. Stable releases contain only bug fixes from previous versions of CVS. This version includes an efficiency fix that reduces checkouts of very old revisions from an O(n^2) operation to an O(n) one, as well as yet another Windows file time stamp handling fix (bug #22781), and some other minor fixes and efficiency improvements. We recommend this upgrade for all CVS clients and servers!</p>
<p>Please take a look at the NEWS file from the CVS source distribution and the CVS 1.11.23 manual for more information about the changes contained in this release.</p>
<p>CVS can be downloaded from the GNU download server within four hours of this announcement or one of the mirrors after 24 hours or so (make sure to check the &#8221;&#8217;non-gnu&#8221;&#8217; directory on the mirrors). (This release may be obtained from Savannah download server prior to appearing on the GNU download server, but please don&#8217;t use the already heavily loaded Savannah download server unless you have to.) For other ways to obtain CVS, please read How to get GNU Software.</p>
<p>URL: <a href="http://savannah.nongnu.org/projects/cvs" target="_blank" rel="noopener">http://savannah.nongnu.org/projects/cvs</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/stable-cvs-version-11123-released/">Stable CVS Version 1.11.23 Released, What&#8217;s new in Perforce CVS 2011.1, let&#8217;s find?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/stable-cvs-version-11123-released/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure and use SSH authentication system server CVS</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 20 Apr 2010 12:19:22 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Configure CVS with SSH]]></category>
		<category><![CDATA[CVS with SSH Configuration]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Setup CVS through SSH]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[System server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Use SSH with CVS]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/20/how-to-configure-and-use-ssh-authentication-system-server-cvs/</guid>

					<description><![CDATA[<p>How to configure and use SSH authentication system server CVS cvs (Concurrent Version System) is a very popular version control [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/">How to configure and use SSH authentication system server 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-4374" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s.png" alt="ssh-with-cvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>How to configure and use SSH authentication system server CVS</strong></p>
<p>cvs (Concurrent Version System) is a very popular version control tool. Although its function as Perforce, Subversion and other powerful, but because of its easy configuration, simple to use and the introduction of longer, so in all a kind of software project widely used.</p>
<p>first is to install FreeBSD, and application security patches. This step is very simple, download a FreeBSD (the upcoming 5.2-RELEASE is a good choice, in this article was published, this version may have been able to download a) of the mini iso burning CD-ROM, then you can install the (choose “Minimum” installation). Note that, in order to be able to use ssh authentication, be sure to install the crypto. Configure the network for this machine, so after the restart just fine.</p>
<p>then install the necessary package. FreeBSD 4.x built-in perl, but in 5.x in, perl be deleted from the basic system. In order to better use, including ACL, commit mail, and a number feature, you must install perl.</p>
<p>I personally recommend using the ports in the 5.8.x version of perl. Before installing, first of all convinced that the system does not perl 5.6.x installed, the new system, they can safely execute the following command:</p>
<p>This will remove the existing any package. In general, the majority of FreeBSD users use cvsup to update the system, but the release of the CD, cvsup-without-gui is not included, while the ordinary cvsup package requires a series of X11 libraries. To avoid trouble, consider the following two different ways to complete the first code update:</p>
<div></div>
<p><strong>1, using the FreeBSD&#8217;s cvs to synchronize code: </strong></p>
<p>cvs-d: pserver: anoncvs@anoncvs.jp.FreeBSD.org: / home / ncvs login</p>
<p>enter “anoncvs”, Enter</p>
<p>cd / usr</p>
<p>cvs-R-d: pserver: anoncvs@anoncvs.jp.FreeBSD.org: / home / ncvs export-r RELENG_5_2 src ports</p>
<p>Note: If you are not using 5.2-RELEASE, please make appropriate amendments to RELENG_5_2 (for example ,4-STABLE is RELENG_4, – CURRENT is the HEAD, etc.)</p>
<p><strong>2, install cvsup-without-gui: </strong></p>
<p>pkg_add-r cvsup-without-gui</p>
<p>then use cvsup to synchronize code, space is limited, I will not repeat them</p>
<p>I recommend the first method, of course, the second method should be faster, and does not require manually compiling cvsup. Subsequently, the installation of Perl 5.8.x:</p>
<p>cd / usr / ports / lang / perl5.8 &amp; &amp; make all install clean &amp; &amp; rehash</p>
<p>Then we will face a very serious problem: ports inside use.perl script does not know the system had not installed perl, so the time to be wrong in the implementation – this time, just make a symbolic link to perl on it. Well, the implementation:</p>
<p>use.perl port</p>
<p>This script will help you complete use.perl modify configuration files (such as / etc / make.conf) and a series of work. Here is not the table, a little profile about OpenSSH (sshd) configuration, in general, add the following two lines:</p>
<p><strong>Protocol 2 </strong></p>
<p><strong>PasswordAuthentication no </strong></p>
<p>the benefits of doing so: ( 1) only allow ssh2 protocol log, which can provide better security (2) does not allow password login, which no doubt will increase security.</p>
<p><strong>1, create a cvs repository </strong></p>
<p>Well, pre-configuration is basically over. Do not forget to create a user for the cvs group, for example, ncvs, as well as a cvs repository for the management of users, such as the repoman (which of course is ncvs that group), and then create a directory to save the cvs repository, in this case , we put it into / home / ncvs in:</p>
<p>rm-rf / home / ncvs</p>
<p>mkdir-p / home / ncvs</p>
<p>chown-R repoman: ncvs / home / ncvs</p>
<p>chmod-R 775 / home / ncvs</p>
<p>next step is to initialize the repository, and simple to implement:</p>
<p>su-l repoman</p>
<p>cvs-d / home / ncvs init</p>
<p>on it.</p>
<p>present, all the FreeBSD version of cvs are included in the safety of the existence of a small vulnerability, although this flaw only in local use, but we recommend that you put it back on is to find / usr / src / contrib / cvs / src / expand_path.c in</p>
<p>return current_parsed_root-&gt; original;</p>
<p>line, turning it into a</p>
<p>return current_parsed_root-&gt; directory;</p>
<p>Of course, the next step is to re-make world kernel of. Need to note is that if you are using a 5-CURRENT, also need to modify some code for it to reach 5.2-RELEASE as performance (-CURRENT in a large number of debugging options turned on), specific methods will not go into here.</p>
<p><strong>2, the configuration commitmail and ACL </strong></p>
<p>then configure cvs commitmail and ACL. I personally think that commitmail the team software development a very important thing to cvs, it is especially important because cvs is not atomic submit function, but commitmail just enough to make up for this.</p>
<p>FreeBSD development team used a very good perl script to complete commitmail function, while the hook they use cvs to achieve a simple access control function (ACL). I use the cvs repository based on FreeBSD&#8217;s CVSROOT, and made a few changes.</p>
<p>use the CVSROOT cover your CVSROOT, and you also need to freebsd directory mailsend.c which compiled the results into the / usr / local / bin (the script assumes that the CVSROOT in this matter). In addition, the CVSROOT need some modifications before it is put into use (for example, machine name, etc.). These settings can be found in the cfg_local.pm inside:</p>
<p>$ MAILADDRS = &#8216;cvs- all@example.org &#8216;;</p>
<p>commitmail this is the place to be sent to.</p>
<p>$ MAIL_BRANCH_HDR = “X-Phantasm-CVS-Branch”;</p>
<p>this is to be added to the commitmail head of information, if you use the mailing list, then it can help mailing list automatically sorted.</p>
<p>$ MAILBANNER = “The Phantasm Studio repository”;</p>
<p>this soon in commitmail said that they commit to which a repository.</p>
<p>if ($ hostname = ~ / ^ cvs \. Example \. Org $ / i)</p>
<p>commit to this is to determine the host name</p>
<p>$ CVSWEB_URL = “http://cvsweb.example.org/cgi-bin/cvsweb.cgi”;</p>
<p>This is cvsweb services at</p>
<p>a brief CVSROOT in the other documents</p>
<p>avail: the file used to control access to user group.</p>
<p>access: This file is used to control who can perform cvs operations.</p>
<p>exclude: This file is used to control those files do not need to check the cvs tag</p>
<p>options: this file used to control the commencement of cvs tag, for example, can define $ Phantasm $, etc.</p>
<p><strong>3, configuration of users and restrict ssh permissions </strong></p>
<p>ssh authentication using a more vexing question is, ssh means that users have a system account, and that they be able to log in.. If configured properly, they can get a shell, it is natural to be a potential security risk.</p>
<p>must therefore be very careful in handling the ssh cvs authentication issue. The underlying principle is: any action against the user, unless we allow them to do so.</p>
<p>create a user in accordance with the following rules:</p>
<p>user&#8217;s” primary “group is ncvs (This will not only restrict the user&#8217;s permission, so we can more easily control the other users in the cvs repository which can not be free to commit)</p>
<p>users do not use password authentication, which will ease because they do not properly set up ftp and other safety hazards caused by</p>
<p>still give the user a shell, the “shell” can be a perl script, it only allow the implementation of the beginning of the command cvs</p>
<p>then allow users to use openssh&#8217;s ssh-keygen to generate your own key pair. OpenSSH in most * BSD and Linux distributions can be found in, if the user uses the Windows Desktop, you need to install cygwin (in particular, the installation of net in OpenSSH), of course, the implementation of the command is the same:</p>
<p>ssh-keygen-t dsa-b 2048</p>
<p>for the paranoid security enthusiasts, can consider later in 2048 will be replaced by-b 4096. Of course, under the barrel theory, if you are a paranoid, then obviously you should be forced to use all the partners are also at least as long as your key:)</p>
<p>, the administrator should be user (committer) the key into the server, the user corresponding to the authorized_keys file in the folder inside. For example, one of my public key as follows:</p>
<p>ssh-dss AAAAB3NzaC1kc3MAAAEBAL +1 jinOw +86 RcTEaSM5/Hz4Lr9tIS0IQsX8ebo</p>
<p>TwLzWnqpOHRh2KBCGn/e0xGCIAai7PGz7c + SZCvrLiRvG9mCsMMMue8ZIL + QF4OAmMd</p>
<p>Cz8Qoyg0cc4YXImOd + UEpdOX29PC4aMAz28v/GO2yf58/Qa49Clfq1kHa/8q3IAgs9o</p>
<p>W95 / ArG + IWFOsN1Tv9nh4XJb5AQjpa5uMlB5SEmvKGTXQ2oYiRVIxL8vzHL6MtO/8×1</p>
<p>j8 + RioSH6FCpEXS7UJbYxE7vF3m5Fa5o6g2dIZewphsleOeHkvYJ442Hqvsly3p4 +4 N</p>
<p>dvim4bY2HMDha5r5zeTV8tTlOz4wQVgKyWoEAAAAVAINGzX7uU0vR8l63qhBhUeWGZt</p>
<p>C9AAABADWiO +9 bvV7DApsn08LR1eoEnMjJFQgEfGlbV + EvZHkO0bkHZAdRIKtVmgNUw</p>
<p>G6uufykkt2Tb + q5SbVNZkzeaFVv4ZMtnjSvEPIZrEXcQFFguGk1it5v5EYcmq4G8 + j1</p>
<p>BFTVHef4b1wMTSt11WtEz0LUYncuZ6LA48/WGTuZiSm8JkchgVm8HhR9NqjdeFJH8sO</p>
<p>RUhUBoxyWjo/hv7zFg7HqoJGzeNfrEhFg36psR2RDaRvSP0vN1W2q4j5OZy3gB6ZyVt</p>
<p>nsEPl1HELhlaCFifmdz1LVxDx + FyPy6wMsPQLTmB1g6N1J6PWy3qCTJ0NyQgarSt3 / A</p>
<p>TQ0InF1BOdJn8QAAAEAPb1OgswuMHdEsHk2ETZVmOKOkI9Rjf72vjZ3xG45iEbCH/7p</p>
<p>aTP8OQmJMW9FD4MHjdmtktPVYXDIa9Hj/IM44zhfMHEdKs9LlFUK5dBgNUps + yPj2Ns</p>
<p>Mr2rl771ODR0mB52FwrXm1FCmNTM7WQpFOEy/QhtZRpHK +7 / YZp7PBggt17Fw7rbjP2</p>
<p>zhWnZluoSKLgvfkhxhJuOMm/ElNJx2c + XHdxPqI3eR5UxzLNjDUNh59I8 + h + E69bFB3</p>
<p>b2uhKqziziHOQcqoH5r0Kud / DBBE79lU3mRUF8FQNygCRh/V3yFzed40rc0nF0PQpNZ</p>
<p>6zodDTJByrm6vX5wr2lI4RgA9w == bitripper@grimreaper.delphij.net</p>
<p>Description: public key is not allowed off-line, here is convenient for typesetting. We have just opened to the user shell, which is still potential pitfalls, so we tighten security in this regard, the public key by adding the following text before the project:</p>
<p>command = “/ usr / bin / cvs – allow-root = / home / ncvs server”</p>
<p>So, the whole line should look like this:</p>
<p>command =” / usr / bin / cvs – allow-root = / home / ncvs server “ssh-dss AAAAB</p>
<p>…… …………………..</p>
<p>X5wr2lI4RgA9w == bitripper@grimreaper.delphij.net</p>
<p>ssh this command means that up on the implementation of / usr / bin / cvs – allow-root = / home / ncvs server this command, and can only perform this command. Thus, unless there are loopholes in the cvs itself, otherwise, can not really cut out through ssh shell. – Allow-root limits the ability to use the repository, so users can not easily specify the other repository, thus trying to undermine the security will become more difficult. If you need multiple repository, you can specify the number of allow-root parameter.</p>
<p>be noted is that if users have multiple public key, you need to specify each public key before the command.</p>
<p><strong>4, configuration cvsweb </strong></p>
<p>configuration cvsweb is quite simple. First install the apache (I tried 1.3.x and 2.0.x), configure the ready, from the port which install cvsweb on it:</p>
<p>cd / usr / ports / devel / cvsweb &amp; &amp; make all installl clean</p>
<p>and then to modify it configuration file:</p>
<p>cd / usr / local / etc / cvsweb</p>
<p>vi cvsweb.conf</p>
<p>find</p>
<p>;</p>
<p>@ CVSrepositories = (</p>
<p>line, follow the example of an increase in following their own repository, For example:</p>
<p>&#8216;ncvs&#8217; =&gt; [&#8216; New CVS Repository &#8216;,&#8217; / home / ncvs&#8217;],</p>
<p>write the number of how many, of course, @ CVSrepositories the first to directly access cvsweb.cgi when the repository.</p>
<p>in FreeBSD 5.1-CURRENT development process carried out by some of the changes caused by the ports in the cvsweb not normally call the cvs and rcs tools, which will cause it to not work properly. To solve this problem, can be found from the following web site the latest version of cvsweb:</p>
<p>http://www.freebsd.org/projects/cvsweb.html</p>
<p>the author of this writing, the latest cvsweb version is 2.9.1 beta. Before the installation, need to install the other two port:</p>
<p>cd / usr/ports/devel/p5-IPC-Run &amp; &amp; make all install clean</p>
<p>cd / usr/ports/net/p5-URI &amp; &amp; make all install clean</p>
<p>then downloaded tbz file unpack, copy to the appropriate location (cgi-bin and related images directory) can be used.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/">How to configure and use SSH authentication system server CVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Point PPT: Software Configuration Management And CVS</title>
		<link>https://www.scmgalaxy.com/tutorials/power-point-ppt-software-configuration-management-and-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/power-point-ppt-software-configuration-management-and-cvs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 21 Mar 2010 20:59:00 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Practice of Software Configuration Management]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Configuration management with CVS PPT]]></category>
		<category><![CDATA[Configuration management with CVS Presentation]]></category>
		<category><![CDATA[How to use CVS]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[PPt]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Slideshare]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Software Configuration Management]]></category>
		<category><![CDATA[Software Configuration Management with CVS PPT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/03/21/power-point-ppt-software-configuration-management-and-cvs/</guid>

					<description><![CDATA[<p>Power Point PPT: Software Configuration Management And CVS Software Configuration Management And CVS from Rajesh Kumar</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/power-point-ppt-software-configuration-management-and-cvs/">Power Point PPT: Software Configuration Management And CVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><img decoding="async" class="alignnone size-full wp-image-4223" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/software-configuration-mana-2.png" alt="software-configuration-management-and-cvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/software-configuration-mana-2.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/software-configuration-mana-2-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h1>
<h1>Power Point PPT: Software Configuration Management And CVS</h1>
<p><iframe loading="lazy" style="border: 1px solid #CCC; border-width: 1px; margin-bottom: 5px; max-width: 100%;" src="//www.slideshare.net/slideshow/embed_code/key/bJj2f8EIQJ1j1f" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="allowfullscreen"> </iframe></p>
<div style="margin-bottom: 5px;"><strong> <a title="Software Configuration Management And CVS" href="//www.slideshare.net/rajeshatbuzz/software-configuration-management-and-cvs" target="_blank" rel="noopener">Software Configuration Management And CVS</a> </strong> from <strong><a href="https://www.slideshare.net/rajeshatbuzz" target="_blank" rel="noopener">Rajesh Kumar</a></strong></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/power-point-ppt-software-configuration-management-and-cvs/">Power Point PPT: Software Configuration Management And CVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/power-point-ppt-software-configuration-management-and-cvs/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Power Point PPT: Version Control With CVS &#8211; Complete Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/power-point-ppt-version-control-with-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/power-point-ppt-version-control-with-cvs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 21 Mar 2010 20:56:34 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Version Management]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[CVS Version Control Guide]]></category>
		<category><![CDATA[CVS Version Control PPT]]></category>
		<category><![CDATA[CVS Version Control Tutorial]]></category>
		<category><![CDATA[PPt]]></category>
		<category><![CDATA[PPT presentation]]></category>
		<category><![CDATA[Presentation on CVS Version Control]]></category>
		<category><![CDATA[Slideshare of CVS Version Control]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[Version control]]></category>
		<category><![CDATA[Version Control With CVS]]></category>
		<category><![CDATA[Version Control With CVS PPT]]></category>
		<category><![CDATA[Version Control With CVS Presentation]]></category>
		<category><![CDATA[Version Control With CVS Slideshare]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/03/21/power-point-ppt-version-control-with-cvs/</guid>

					<description><![CDATA[<p>Power Point PPT: Version Control With CVS Version Control With CVS from Rajesh Kumar &#160;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/power-point-ppt-version-control-with-cvs/">Power Point PPT: Version Control With CVS &#8211; Complete Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4228" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/version-control-with-cvs.png" alt="version-control-with-cvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/version-control-with-cvs.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/version-control-with-cvs-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h1>
<h1>Power Point PPT: Version Control With CVS</h1>
<p><iframe loading="lazy" style="border: 1px solid #CCC; border-width: 1px; margin-bottom: 5px; max-width: 100%;" src="//www.slideshare.net/slideshow/embed_code/key/IpLGy8lOOR7prr" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="allowfullscreen"> </iframe></p>
<div style="margin-bottom: 5px;"><strong> <a title="Version Control With CVS" href="//www.slideshare.net/rajeshatbuzz/version-control-with-cvs" target="_blank" rel="noopener">Version Control With CVS</a> </strong> from <strong><a href="https://www.slideshare.net/rajeshatbuzz" target="_blank" rel="noopener">Rajesh Kumar</a></strong></div>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/power-point-ppt-version-control-with-cvs/">Power Point PPT: Version Control With CVS &#8211; Complete Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/power-point-ppt-version-control-with-cvs/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>CVS Configuration Procedure &#8211; Install CVS &#8211; CVS Setup Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/cvs-configuration-install-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/cvs-configuration-install-cvs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 06 Apr 2009 07:09:07 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[CVS Configuration]]></category>
		<category><![CDATA[CVS Configuration Guide]]></category>
		<category><![CDATA[CVS Configuration Process]]></category>
		<category><![CDATA[CVS Configuration Tutorial]]></category>
		<category><![CDATA[CVS Installation Guide]]></category>
		<category><![CDATA[CVS Installation Process]]></category>
		<category><![CDATA[CVS Installation Tutorial]]></category>
		<category><![CDATA[CVS Setup Tutorial]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/04/06/cvs-configuration-install-cvs/</guid>

					<description><![CDATA[<p>CVS Configuration &#8211; Install CVS Procedure #1:- Use rpm or up2date or yum command to install cvs: for Redhat Use:- [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-configuration-install-cvs/">CVS Configuration Procedure &#8211; Install CVS &#8211; CVS Setup Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4022 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/04/cvs-configuration-install-c.png" alt="cvs-configuration-install" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/04/cvs-configuration-install-c.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/04/cvs-configuration-install-c-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><span style="color: #800000;"><b>CVS Configuration &#8211; Install CVS</b></span></p>
<ul>
<li><span style="color: #0000ff;"><b>Procedure #1:-</b></span></li>
</ul>
<p>Use rpm or up2date or yum command to install cvs:</p>
<p>for Redhat Use:-</p>
<p>rpm -ivh cvs<br />
OR#    up2date cvs<br />
for fedora use:-</p>
<p>yum install cvs<br />
For Debian Users:-</p>
<p>apt-get install cvs</p>
<p>Create a CVS user#<br />
useradd cvs<br />
#     passwd cvs</p>
<p><span style="color: #0000ff;">Above command will create a user cvs and group cvs with /home/cvs home directory.</span><br />
Configure CVS</p>
<p>Open /etc/profile and append following line:# <span style="color: #0000ff;">vi /etc/profile</span><br />
Append following line:<br />
<i><span style="color: #0000ff;"> export CVSROOT=/home/cvs </span></i><br />
Save the file and exit to shell promot.</p>
<p>Make sure your /etc/xinetd.d/cvs looks as follows:</p>
<p># less /etc/xinetd.d/cvsOutput:</p>
<p>service cvspserver<br />
{<br />
disable            = no<br />
socket_type    = stream<br />
wait                = no<br />
user                = cvs<br />
group              = cvs<br />
log_type          = FILE /var/log/cvspserver<br />
protocol          = tcp<br />
env                 = &#8216;$HOME=/home/cvsroot&#8217;<br />
bind                = 192.168.1.100<br />
log_on_failure  += USERID<br />
port                = 2401<br />
server             = /usr/bin/cvs<br />
server_args     = -f &#8211;allow-root=/home/cvsroot pserver<br />
}</p>
<p>Note: Replace 192.168.1.100 with your actual server IP address.</p>
<p>Restart xinetd:# service xinetd restartAdd users to this group (see this howto for more info)<br />
#<span style="color: #0000ff;"><i> adduser username -g cvs</i></span></p>
<p># passwd usernameClient configuration</p>
<p>Finally user can connect to this CVS server using following syntax:<br />
<i><span style="color: #0000ff;">$ export CVSROOT=:pserver:@:/home/cvs<br />
$ cvs loginWhere,</span></i></p>
<p>* Login &#8211; username<br />
* 192.168.1.100 &#8211; CVS server IP<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<ul>
<li><span style="color: #0000ff;"><b>Procedure #2:-</b></span></li>
</ul>
<p>&#8212;&#8212;-<br />
1st Set CVS in /etc/profile as<br />
CVSROOT=$HOME<br />
then<br />
export CVSROOT in .bashrc file</p>
<p>2nd:-<br />
Creat a cvs directory<br />
mkdir -p /home/cvs<br />
cs /home/cvs/<br />
touch Entries<br />
touch Root<br />
touch Repository<br />
touch Templet</p>
<p>then<br />
vi Entries<br />
(should be empty)<br />
then save and close.<br />
vi Repository<br />
edit as &#8220;./&#8221;<br />
then save and close<br />
vi Root<br />
it shoud contain your path name&#8230;<br />
eg:- pwd &gt;&gt; Root<br />
save and quit<br />
Vi Templet<br />
edit BugID:<br />
save and close<br />
3rd:-<br />
On Shell prompt<br />
cvs init<br />
cvs checkout ./<br />
cvs add<br />
cvs commit or ci</p>
<p>and have a look bellow links too..</p>
<p><i><span style="color: #0000ff;">http://www.taursys.com/howto/cvs/<br />
http://www.cyberciti.biz/faq/linux-setup-a-concurrent-versioning-system-cvs-howto/<br />
http://www.cs.brandeis.edu/~guru/cvs.html<br />
http://defindit.com/readme_files/cvs.html<br />
http://www.taursys.com/howto/cvs/</span></i></p>
<p>if you are facing any problem then let me know..</p>
<p>Thanks,<br />
-Amaresh</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cvs-configuration-install-cvs/">CVS Configuration Procedure &#8211; Install CVS &#8211; CVS Setup Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/cvs-configuration-install-cvs/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How CVS will help to Realtime Developers ?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers-2/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 02 Feb 2009 09:27:46 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[CVS Afvantages]]></category>
		<category><![CDATA[CVS Features]]></category>
		<category><![CDATA[CVS Techniques]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[How CVS can help Developers]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[Realtime Developers]]></category>
		<category><![CDATA[Software Developers]]></category>
		<category><![CDATA[Useful CVS Features]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/02/02/how-cvs-will-help-to-realtime-developers-2/</guid>

					<description><![CDATA[<p>CVS Tips &#38; Tricks The CVS commands here assume that you are using the command line version of CVS. Tips [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers-2/">How CVS will help to Realtime Developers ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><span style="color: #0000ff;"><strong>CVS</strong> Tips &amp; Tricks</span></h1>
<p>The <strong>CVS</strong> commands here assume that you are using the command line version of <strong>CVS</strong>. Tips and tricks for a specific <strong>CVS</strong> GUI are specific to each GUI and do not really belong here.</p>
<h2>Viewing the commit log of a file.</h2>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs log <em>filename</em></strong></td>
</tr>
</tbody>
</table>
</div>
<h2>Show current status of a file.</h2>
<p>The status command will show you the latest version, the version in your working directory and if your local copy has been modified.</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs status <em>filename</em></strong></td>
</tr>
</tbody>
</table>
</div>
<h2><span style="color: #0000ff;">Performing a <strong>CVS</strong> diff</span></h2>
<p>After developers have checked in updates to the code it may be beneficial to see what has changed, either to help solve bugs or to track changes. There are several option to do this.</p>
<ol>
<li><strong>Perform a diff between complete branches: </strong></li>
</ol>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ </strong><strong>cvs -q diff -u -r BRANCH1 -r BRANCH2 </strong></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><strong>Perform a diff between a single file in two branches: </strong></li>
</ol>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ </strong><strong>cvs -q diff -u -r BRANCH1 -r BRANCH2 filename </strong></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><strong>Perform a diff between different versions of a file: </strong></li>
</ol>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ </strong><strong>cvs -q diff -u -r version1 -r version2 filename </strong></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><strong>Perform a diff between working version and most up to date file in database: </strong></li>
</ol>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ </strong><strong>cvs -q diff -u filename </strong></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><strong>Perform a diff between working version and a specific database version: </strong></li>
</ol>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ </strong><strong>cvs -q diff -u -r version filename </strong></td>
</tr>
</tbody>
</table>
</div>
<h2><span style="color: #0000ff;"><strong>Retrieving </strong><strong>CVS Information on Files</strong></span></h2>
<p>To retrieve the current version and other relevant information about a file run:</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs status filename </strong></td>
</tr>
</tbody>
</table>
</div>
<p>To retrieve the entire change log pertaining to a file run:</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs log filename </strong></td>
</tr>
</tbody>
</table>
</div>
<h2><strong><span style="color: #0000ff;">Retrieving CVS Files Based Upon Revision</span></strong></h2>
<p>To retrieve a file from <strong>CVS</strong> based upon a revision number perform the following:</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs -q up -Pd -r revision filename </strong></td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>To get the revision number use the log command above</li>
</ul>
<h2><span style="color: #0000ff;"><strong>Tag file in </strong><strong>CVS as a Release</strong></span></h2>
<p>To tag files in <strong>CVS</strong> as a release perform the following:</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs tag </strong></td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the release source dir.</li>
</ul>
<h2><span style="color: #0000ff;"><strong>Creating a Branch</strong></span></h2>
<p>I like to do the following before creating a branch:</p>
<p>See what tags are available and pick one.</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> -q log <em>filename</em></td>
</tr>
</tbody>
</table>
</div>
<p>Revert to a tagged version of HEAD.</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs -q up -r TAG_Version </strong></td>
</tr>
</tbody>
</table>
</div>
<p>To create a branch in <strong>CVS</strong> perform the following:</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>$ cvs tag -b </strong></td>
</tr>
</tbody>
</table>
</div>
<p>Run the command from within the release source dir. This should be done in the top level directory of the project. The chosen_branch is something like BRANCH_36_BUG_.</p>
<div>
<table border="0">
<tbody>
<tr>
<td><strong>cvs -q up -r </strong></td>
</tr>
<tr>
<td><strong>$ </strong><strong>cvs -q status &lt;&#8211; confirm that the branch has specified as the tag </strong></td>
</tr>
<tr>
<td><strong>$ </strong><strong>cvs tag _mm_day_year &lt;&#8211; eg: BRANCH_12_BUG_12345_07_17_2009 </strong></td>
</tr>
</tbody>
</table>
</div>
<h2><strong><span style="color: #0000ff;">Reverting to a Branch</span></strong></h2>
<p>To revert to a branch in <strong>CVS</strong> perform the following:</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> -q <strong>up &#8211;</strong>r</td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the release source dir. This should be done in the top level directory of the project. The chosen_branch is something like BRANCH_BUG_.</li>
</ul>
<h2><strong><span style="color: #0000ff;">Verifying you are in a branch</span></strong></h2>
<p>To verify you are in a branch</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> -q status</td>
</tr>
</tbody>
</table>
</div>
<p>You will see that the branch is a sticky tag.</p>
<h2>Merge Current Branch with HEAD</h2>
<p>Ensure that you are in the branch by reverting to the branch and Verifying that you are in the branch.</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> update -j</td>
</tr>
</tbody>
</table>
</div>
<p>This will ensure that you are your branch is getting merged properly with HEAD so the only differences you see between your branch and the are changes that you made. You can verify this from your branch with:</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> -q diff -u -r | less</td>
</tr>
</tbody>
</table>
</div>
<p>You will eventually have to commit your changes you should always do a tag on the branch after your commit.</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> tag</td>
</tr>
</tbody>
</table>
</div>
<h2>Merge HEAD into Current Branch Multiple Times (with tags) and without -kk option</h2>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> update -j -j</td>
</tr>
</tbody>
</table>
</div>
<p>This command will unfortunenately result in a lot of your ID tags getting changed at the top. Using the &#8211;kk option will avoid this problem. But then you won&#8217;t see which files have changed and You won&#8217;t know who last modified a file easily. After you run this command I recommend:</p>
<pre>$ vim `<strong>cvs</strong> up -d | grep '^C' | sed -e 's/^C //'`</pre>
<p>You may find the following page interesting as well: <a href="http://kb.wisc.edu/middleware/page.php?id=4087">http://kb.wisc.edu/middleware/page.php?id=4087</a></p>
<p>This will grab all of the conflicting files. You can save them with :w. And step through them with :bn. You can easily close them all with :wq!.</p>
<h2><span style="color: #0000ff;"><strong>Merge HEAD into Current Branch Multiple Times (with tags)</strong></span></h2>
<p>To merge current HEAD into a branch that has already had HEAD merged into it once, the differences between that last merge and current HEAD need to be gathered and applied to the branch. This is done by finding out when the last time HEAD was merged with the branch. Hopefully you tagged your branch. Repeat steps 1 and 2 from the previous section to create a tag for HEAD and to create a tag for your branch so you can have a backup/reference point. Then, perform the following if you have tagged the branch when merging the last time:</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> update -kk -j -j</td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the branched version. is the old tag in HEAD from the last time you merged (the tag that you created in Step one from the previous section). If you in this case, the format will likely be the following:</li>
</ul>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> update -kk -j UPDATE_HEAD_36_BUG__06_16_2008 -j UPDATE_HEAD_36_BUG__07_23_2008</td>
</tr>
</tbody>
</table>
</div>
<p>The first tag is the one created the last time HEAD was merged into the branch. The second tag is one that should have been just created. This will take all the differences between the two tags, and bring them into the branch. The next time a merge from HEAD into the branch occurs, this latest tag will be the &#8220;old&#8221; tag, and the new tag will be created at the time of the merge.</p>
<p>The reason for tagging the branch before a join/merge like this is to create a reference point to revert to if the need ever arises. The -kk option removes rcsid tags so that the <strong>cvs</strong> tag at the top doesn&#8217;t get flagged as a conflict on every merge/join.</p>
<h2><span style="color: #0000ff;"><strong>Merge HEAD into Current Branch Multiple Times (without tags)</strong></span></h2>
<p>If no tags have been created for the branch when HEAD was merged into a branch at a previous time, an alternative is to use the daily build tag. Find the commit message of the last time HEAD was merged into the branch and was committed and select the daily build tag the day BEFORE that one (but only if the commit was before the daily build that day, i.e. before lunch time for GMT -06:00). An example is provided below on how to merge without tagging:</p>
<div>
<table border="0">
<tbody>
<tr>
<td>$ <strong>cvs</strong> update -kk -j Tag_Branch -j HEAD&gt;</td>
</tr>
</tbody>
</table>
</div>
<p>Run the command from within the branched version.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>To Avoide network confusion :-</strong></p>
<p>use :- alias cvs=`cvs -z9`</p>
<p>causes cvs to use compression level 6.</p>
<p>Good links for it:-</p>
<ul>
<li><a href="http://datagrams.blogspot.com/2009/01/how-to-deploy-cvs-concurrent-versions.html" target="_blank" rel="noopener">http://datagrams.blogspot.com/2009/01/how-to-deploy-cvs-concurrent-versions.html</a></li>
</ul>
<ul>
<li><a href="http://kb.wisc.edu/middleware/page.php?id=4087" target="_blank" rel="noopener">http://kb.wisc.edu/middleware/page.php?id=4087</a></li>
<li><a href="http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_10.html#SEC85" target="_blank" rel="noopener">http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_10.html#SEC85</a></li>
<li><a href="http://ximbiot.com/cvs/wiki/Special/Index" target="_blank" rel="noopener">http://ximbiot.com/cvs/wiki/Special/Index</a></li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers-2/">How CVS will help to Realtime Developers ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>List of 5 Common Problems in CVS &#8211; Troubleshooting Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/common-problems-in-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/common-problems-in-cvs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 30 Jan 2009 07:33:28 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[Common]]></category>
		<category><![CDATA[Common Issues]]></category>
		<category><![CDATA[Common Problems]]></category>
		<category><![CDATA[CVS Common Issues]]></category>
		<category><![CDATA[CVS Common Problems]]></category>
		<category><![CDATA[CVS Issues]]></category>
		<category><![CDATA[CVS Problems]]></category>
		<category><![CDATA[CVS Troubleshooting]]></category>
		<category><![CDATA[CVS Troubleshooting Guide]]></category>
		<category><![CDATA[CVS Troubleshooting Instructions]]></category>
		<category><![CDATA[CVS Troubleshooting Techniques]]></category>
		<category><![CDATA[CVS Troubleshooting Tutorial]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[General Problems]]></category>
		<category><![CDATA[Issues in CVS]]></category>
		<category><![CDATA[issues.]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[Problems]]></category>
		<category><![CDATA[Problems in CVS]]></category>
		<category><![CDATA[Resolve]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Trouble]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/30/common-problems-in-cvs/</guid>

					<description><![CDATA[<p>List of 5 Common Problems in CVS &#8211; Troubleshooting Guide Problem 1:- How will we modify our conflict occurred files [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/common-problems-in-cvs/">List of 5 Common Problems in CVS &#8211; Troubleshooting Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3980 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-common-problems.png" alt="cvs-common-problems" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-common-problems.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-common-problems-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>List of 5 Common Problems in CVS &#8211; Troubleshooting Guide</strong></p>
<ul>
<li><span style="color: #0000ff;"><strong>Problem 1:- How will we modify our conflict occurred files ?</strong></span></li>
</ul>
<hr size="2" width="100%" />
<p>While updating if you will get message like bellow, then check,</p>
<p>This will list:</p>
<p>* &#8220;A filename&#8221; for files that you added<br />
* &#8220;M filename&#8221; for files that you modified<br />
* &#8220;C filename&#8221; for files that have conflicts</p>
<p>Conflicts are files that you modified and that were modified on the head revision as well.</p>
<p>@ If u ll get C or conflict then go to that file and remove that lines and duplicate line then it will recover, it because, if more than two developer working on same file and comming on same time then conflict occures,</p>
<p>Files with conflicts will have conflict markers in them. Conflict markers look like:</p>
<p>&lt;&lt;&lt;&lt;&lt;&lt;&lt; filename<br />
your lines<br />
=======<br />
other person&#8217;s lines<br />
&gt;&gt;&gt;&gt;&gt;&gt;&gt; current version</p>
<ul>
<li><strong><span style="color: #0000ff;">Problem 2:-</span></strong></li>
</ul>
<p><span style="color: #0000ff;">If you are using your colleague&#8217;s checked out code for some changes, after that If you made any changes in code and then if you will try to check-in the code in CVS from your machine,after that if  it will ask your colleague&#8217;s password for checking-in. So How will we resolve this one ?</span></p>
<hr size="2" width="100%" />
<p>Soln:-<br />
Please fine the CVS dir on your present code directory, then go to CVS dirctory, there, you will find Entries, Root, Repository like files , So now open that Rot file and change that username then your problem will solve, else let me know.<br />
Steps:<br />
cd CVS<br />
vim Root<br />
edit present urername to your username<br />
@cvs:<br />
:wq   // save and quit<br />
cd ..  // come to parent directory<br />
then do your work ..<br />
it will fine</p>
<ul>
<li><span style="color: #0000ff;"><strong>Problem 3:-<br />
<span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;">Is there any way to identify the information of deleted lines in a file through CVS annotate or any other means?</span></span></strong></span></li>
</ul>
<p>Soln:-</p>
<p><span style="color: #333399;">  <span style="color: #0000ff;">       <span style="color: #000000;">You deleted from CVS or local server ? if u deleted from both server then i have to see, else if u deleted from      either local server or CVS server  then do <em><span style="color: #333399;">&#8220;cvs -q up -Pd  &#8220;</span></em></span></span></span></p>
<p><span style="color: #333399;"><span style="color: #0000ff;"><span style="color: #000000;">else do<span style="color: #000080;"> &#8220;<em> cvs -q up -Pd -r  &#8221; .</em></span></span></span></span></p>
<ul>
<li> <span style="color: #0000ff;"><strong>Problem4:-</strong></span></li>
</ul>
<p><span style="color: #0000ff;"><strong>           When I view the &#8220;cvs log&#8221;, the log report is fetching the file but says </strong></span></p>
<p><span style="color: #0000ff;"><strong>            &#8220;date: 2008/12/31 06:00:51;  author: amareshcd;  state: Exp;  lines: +0 -0&#8221;<br />
But I have added with 130 lines. Why the log is not showing &#8220;+130 -0&#8221; in its report.   ?</strong></span></p>
<p>Soln:-</p>
<p>Use ,<em>&#8220;cvs log -d date1 logfile.log&#8221; </em></p>
<ul>
<li> <span style="color: #0000ff;"><strong>Problem5:-</strong></span></li>
</ul>
<p><span style="color: #0000ff;"><strong>        I have files that went into the Attic.  How do I restore them back? Viewing  the files  revealed that they&#8217;re in DEAD State. Someone has &#8216;cvs remove&#8217;d the files. Just restore them with &#8216;cvs add&#8217;. How ?</strong></span></p>
<p>Soln:-</p>
<p>Step1:-<br />
cvs log<br />
Step2:-<br />
Find til newest non-dead version<br />
step 3:-<br />
cvs update -r<br />
step4:-<br />
mv foo<br />
step 5:-<br />
cvs update -A<br />
step 6:-<br />
mv foo<br />
step 7:-<br />
cvs add<br />
step 8:-<br />
cvs commit -m &#8220;bring out your dead&#8221;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/common-problems-in-cvs/">List of 5 Common Problems in CVS &#8211; Troubleshooting Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/common-problems-in-cvs/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How CVS will help to Realtime Developers ?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 29 Jan 2009 13:21:36 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[CVS Advantages for Developers]]></category>
		<category><![CDATA[CVS Benefits for Developers]]></category>
		<category><![CDATA[CVS Guide]]></category>
		<category><![CDATA[CVS Tips & Tricks]]></category>
		<category><![CDATA[CVS Tutorial for Developers]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Developers Tools]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[Realtime Developers]]></category>
		<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/29/how-cvs-will-help-to-realtime-developers/</guid>

					<description><![CDATA[<p>CVS Tips &#38; Tricks The CVS commands here assume that you are using the command line version of CVS. Tips [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers/">How CVS will help to Realtime Developers ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3985 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/how-cvs-help-to-realtime-de.png" alt="how-cvs-will-help-to-realtime-developers" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/how-cvs-help-to-realtime-de.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/how-cvs-help-to-realtime-de-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h1>
<h1><span style="color: #0000ff;"><b>CVS</b> Tips &amp; Tricks</span></h1>
<p>The <b>CVS</b> commands here assume that you are using the command line version of <b>CVS</b>. Tips and tricks for a specific <b>CVS</b> GUI are specific to each GUI and do not really belong here.</p>
<h2>Viewing the commit log of a file.</h2>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs log <i>filename</i></b></td>
</tr>
</tbody>
</table>
</div>
<h2>Show current status of a file.</h2>
<p>The status command will show you the latest version, the version in your working directory and if your local copy has been modified.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs status <i>filename</i></b></td>
</tr>
</tbody>
</table>
</div>
<h2><span style="color: #0000ff;">Performing a <b>CVS</b> diff</span></h2>
<p>After developers have checked in updates to the code it may be beneficial to see what has changed, either to help solve bugs or to track changes. There are several option to do this.</p>
<ol>
<li><b>Perform a diff between complete branches: </b></li>
</ol>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ </b><b>cvs -q diff -u -r BRANCH1 -r BRANCH2 </b></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><b>Perform a diff between a single file in two branches: </b></li>
</ol>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ </b><b>cvs -q diff -u -r BRANCH1 -r BRANCH2 filename </b></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><b>Perform a diff between different versions of a file: </b></li>
</ol>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ </b><b>cvs -q diff -u -r version1 -r version2 filename </b></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><b>Perform a diff between working version and most up to date file in database: </b></li>
</ol>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ </b><b>cvs -q diff -u filename </b></td>
</tr>
</tbody>
</table>
</div>
<ol>
<li><b>Perform a diff between working version and a specific database version: </b></li>
</ol>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ </b><b>cvs -q diff -u -r version filename </b></td>
</tr>
</tbody>
</table>
</div>
<h2><span style="color: #0000ff;"><b>Retrieving </b><b>CVS Information on Files</b></span></h2>
<p>To retrieve the current version and other relevant information about a file run:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs status filename </b></td>
</tr>
</tbody>
</table>
</div>
<p>To retrieve the entire change log pertaining to a file run:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs log filename </b></td>
</tr>
</tbody>
</table>
</div>
<h2><b><span style="color: #0000ff;">Retrieving CVS Files Based Upon Revision</span></b></h2>
<p>To retrieve a file from <b>CVS</b> based upon a revision number perform the following:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs -q up -Pd -r revision filename </b></td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>To get the revision number use the log command above</li>
</ul>
<h2><span style="color: #0000ff;"><b>Tag file in </b><b>CVS as a Release</b></span></h2>
<p>To tag files in <b>CVS</b> as a release perform the following:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs tag </b></td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the release source dir.</li>
</ul>
<h2><span style="color: #0000ff;"><b>Creating a Branch</b></span></h2>
<p>I like to do the following before creating a branch:</p>
<p>See what tags are available and pick one.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> -q log <i>filename</i></td>
</tr>
</tbody>
</table>
</div>
<p>Revert to a tagged version of HEAD.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs -q up -r TAG_Version </b></td>
</tr>
</tbody>
</table>
</div>
<p>To create a branch in <b>CVS</b> perform the following:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>$ cvs tag -b </b></td>
</tr>
</tbody>
</table>
</div>
<p>Run the command from within the release source dir. This should be done in the top level directory of the project. The chosen_branch is something like BRANCH_36_BUG_.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td><b>cvs -q up -r </b></td>
</tr>
<tr>
<td><b>$ </b><b>cvs -q status &lt;&#8211; confirm that the branch has specified as the tag </b></td>
</tr>
<tr>
<td><b>$ </b><b>cvs tag _mm_day_year &lt;&#8211; eg: BRANCH_12_BUG_12345_07_17_2009 </b></td>
</tr>
</tbody>
</table>
</div>
<h2><b><span style="color: #0000ff;">Reverting to a Branch</span></b></h2>
<p>To revert to a branch in <b>CVS</b> perform the following:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> -q <b>up &#8211;</b>r</td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the release source dir. This should be done in the top level directory of the project. The chosen_branch is something like BRANCH_BUG_.</li>
</ul>
<h2><b><span style="color: #0000ff;">Verifying you are in a branch</span></b></h2>
<p>To verify you are in a branch</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> -q status</td>
</tr>
</tbody>
</table>
</div>
<p>You will see that the branch is a sticky tag.</p>
<h2>Merge Current Branch with HEAD</h2>
<p>Ensure that you are in the branch by reverting to the branch and Verifying that you are in the branch.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> update -j</td>
</tr>
</tbody>
</table>
</div>
<p>This will ensure that you are your branch is getting merged properly with HEAD so the only differences you see between your branch and the are changes that you made. You can verify this from your branch with:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> -q diff -u -r | less</td>
</tr>
</tbody>
</table>
</div>
<p>You will eventually have to commit your changes you should always do a tag on the branch after your commit.</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> tag</td>
</tr>
</tbody>
</table>
</div>
<h2>Merge HEAD into Current Branch Multiple Times (with tags) and without -kk option</h2>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> update -j -j</td>
</tr>
</tbody>
</table>
</div>
<p>This command will unfortunenately result in a lot of your ID tags getting changed at the top. Using the &#8211;kk option will avoid this problem. But then you won&#8217;t see which files have changed and You won&#8217;t know who last modified a file easily. After you run this command I recommend:</p>
<pre>$ vim `<b>cvs</b> up -d | grep '^C' | sed -e 's/^C //'`</pre>
<p>You may find the following page interesting as well: <a href="http://kb.wisc.edu/middleware/page.php?id=4087">http://kb.wisc.edu/middleware/page.php?id=4087</a></p>
<p>This will grab all of the conflicting files. You can save them with :w. And step through them with :bn. You can easily close them all with :wq!.</p>
<h2><span style="color: #0000ff;"><b>Merge HEAD into Current Branch Multiple Times (with tags)</b></span></h2>
<p>To merge current HEAD into a branch that has already had HEAD merged into it once, the differences between that last merge and current HEAD need to be gathered and applied to the branch. This is done by finding out when the last time HEAD was merged with the branch. Hopefully you tagged your branch. Repeat steps 1 and 2 from the previous section to create a tag for HEAD and to create a tag for your branch so you can have a backup/reference point. Then, perform the following if you have tagged the branch when merging the last time:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> update -kk -j -j</td>
</tr>
</tbody>
</table>
</div>
<ul>
<li>Run the command from within the branched version. is the old tag in HEAD from the last time you merged (the tag that you created in Step one from the previous section). If you in this case, the format will likely be the following:</li>
</ul>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> update -kk -j UPDATE_HEAD_36_BUG__06_16_2008 -j UPDATE_HEAD_36_BUG__07_23_2008</td>
</tr>
</tbody>
</table>
</div>
<p>The first tag is the one created the last time HEAD was merged into the branch. The second tag is one that should have been just created. This will take all the differences between the two tags, and bring them into the branch. The next time a merge from HEAD into the branch occurs, this latest tag will be the &#8220;old&#8221; tag, and the new tag will be created at the time of the merge.</p>
<p>The reason for tagging the branch before a join/merge like this is to create a reference point to revert to if the need ever arises. The -kk option removes rcsid tags so that the <b>cvs</b> tag at the top doesn&#8217;t get flagged as a conflict on every merge/join.</p>
<h2><span style="color: #0000ff;"><b>Merge HEAD into Current Branch Multiple Times (without tags)</b></span></h2>
<p>If no tags have been created for the branch when HEAD was merged into a branch at a previous time, an alternative is to use the daily build tag. Find the commit message of the last time HEAD was merged into the branch and was committed and select the daily build tag the day BEFORE that one (but only if the commit was before the daily build that day, i.e. before lunch time for GMT -06:00). An example is provided below on how to merge without tagging:</p>
<div>
<table class="mceItemTable" border="0">
<tbody>
<tr>
<td>$ <b>cvs</b> update -kk -j Tag_Branch -j HEAD&gt;</td>
</tr>
</tbody>
</table>
</div>
<p>Run the command from within the branched version.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<b>To Avoide network confusion :-</b></p>
<p>use :- alias cvs=`cvs -z9`</p>
<p>causes cvs to use compression level 6.</p>
<p>Good links for it:-</p>
<ul>
<li>http://datagrams.blogspot.com/2009/01/how-to-deploy-cvs-concurrent-versions.html</li>
</ul>
<ul>
<li>http://kb.wisc.edu/middleware/page.php?id=4087</li>
<li>http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_10.html#SEC85</li>
<li>http://ximbiot.com/cvs/wiki/Special/Index</li>
<li><a class="system-pagebreak" title="CVS" href="http://ittipsandtrics.blogspot.com/search/label/CVS%20%28Concorrent%20Version%20System%29" target="_blank" rel="noopener">More Help!!</a></li>
</ul>
<p>Refer for more on This:-</p>
<p><a class="caption" title="CVS Configuration - Install CVS" href="http://ittipsandtrics.blogspot.com/search/label/CVS%20%28Concorrent%20Version%20System%29">          Click Me!!</a></p>
<p>Thanks,</p>
<p>-Amaresh Das</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers/">How CVS will help to Realtime Developers ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-cvs-will-help-to-realtime-developers/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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="auto, (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>Introduction to CVS &#124; Know ABout CVS &#124; Quick Start Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-cvs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 13 Jan 2009 12:41:11 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[About]]></category>
		<category><![CDATA[About CVS]]></category>
		<category><![CDATA[CVS Guide]]></category>
		<category><![CDATA[CVS Introduction]]></category>
		<category><![CDATA[CVS Overview]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Introduction to CVS]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[Overview]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[Start With CVS]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is CVS]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/13/introduction-to-cvs/</guid>

					<description><![CDATA[<p>Introduction to CVS CVS is a version control system, an important component of Source Configuration Management (SCM). Using it, you [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-cvs/">Introduction to CVS | Know ABout CVS | Quick Start Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3989 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-introduction.png" alt="cvs-introduction" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-introduction.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/cvs-introduction-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3><a title="introduction" name="introduction"></a><a href="http://www.nongnu.org/cvs/#TOCintroduction#TOCintroduction">Introduction to CVS </a></h3>
<p>CVS is a version control system, an important component of Source Configuration Management (SCM). Using it, you can record the history of sources files, and documents. It fills a similar role to the free software <u>RCS</u>, <u>PRCS</u>, and <u>Aegis</u> packages.<br />
CVS is a production quality system in wide use around the world, including many free software projects.<br />
While CVS stores individual file history in the same format as RCS, it offers the following significant advantages over RCS:</p>
<ul>
<li>It can run scripts which you can supply to log CVS operations or enforce site-specific polices.</li>
<li><strong>Client/server </strong><strong>CVS</strong> enables developers scattered by geography or slow modems to function as a single team. The version history is stored on a single central server and the client machines have a copy of all the files that the developers are working on. Therefore, the network between the client and the server must be up to perform CVS operations (such as checkins or updates) but need not be up to edit or manipulate the current versions of the files. Clients can perform all the same operations which are available locally.</li>
<li>In cases where several developers or teams want to each maintain their own version of the files, because of geography and/or policy, CVS&#8217;s <strong>vendor branches</strong> can import a version from another team (even if they don&#8217;t use CVS), and then CVS can merge the changes from the vendor branch with the latest files if that is what is desired.</li>
<li><strong>Unreserved checkouts</strong>, allowing more than one developer to work on the same files at the same time.</li>
<li>CVS provides a flexible <strong>modules database</strong> that provides a symbolic mapping of names to components of a larger software distribution. It applies names to collections of directories and files. A single command can manipulate the entire collection.</li>
<li>CVS servers run on most unix variants, and clients for Windows NT/95, OS/2 and VMS are also available. CVS will also operate in what is sometimes called server mode against local repositories on Windows 95/NT.</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-cvs/">Introduction to CVS | Know ABout CVS | Quick Start Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-cvs/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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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>
