<?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>maSnun&#039;s logs &#187; svn</title>
	<atom:link href="http://masnun.com/blog/tag/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://masnun.com/blog</link>
	<description>Personal Blog of maSnun</description>
	<lastBuildDate>Sat, 24 Jul 2010 04:33:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using SVN with GoogleCode Project Hosting</title>
		<link>http://masnun.com/blog/2009/09/13/using-svn-with-googlecode-project-hosting/</link>
		<comments>http://masnun.com/blog/2009/09/13/using-svn-with-googlecode-project-hosting/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 13:15:23 +0000</pubDate>
		<dc:creator>masnun</dc:creator>
				<category><![CDATA[Blog Post]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://masnun.com/?p=618</guid>
		<description><![CDATA[At Leevio, we are going to use SVN or Subversion a lot. For demonstration and playing with the SVN system I chose Google Code Project hosting since it&#8217;s free and feature packed. I am a beginner at operating SVN and &#8230; <a href="http://masnun.com/blog/2009/09/13/using-svn-with-googlecode-project-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At Leevio, we are going to use SVN or Subversion a lot. For demonstration and playing with the SVN system I chose Google Code Project hosting since it&#8217;s free and feature packed. I am a beginner at operating SVN and I had to get a sandbox SVN server to practise what I learn.</p>
<p>I already had the http://masnun.googlecode.com ready for this. So, I started trying out SVN on this account feeling relaxed that no matter what changes I make, no serious harm will be done.</p>
<p>SVN is pretty easy in fact. I read the &#8220;SVN Book&#8221; and &#8220;The Visual Guide to SVN&#8221;. None of them helped me grab SVN like the shell command &#8212; &#8220;svn help&#8221;. It was self explanatory and had a list of all available commands.</p>
<p>To start, I had to create a local repository or better said a local mirror of the project. I did the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> checkout https:<span style="color: #000000; font-weight: bold;">//</span>masnun.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span> masnun <span style="color: #660033;">--username</span> masnun</pre></div></div>

<p>It created a directory named &#8220;masnun&#8221; inside my linux home directory after I authenticated with my googlecode password.</p>
<p>Now I was ready to add files. So I copied a file named &#8220;quotes&#8221; into the /home/masnun/masnun (the local mirror) directory and typed in:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> add quotes</pre></div></div>

<p>I got a text editing environment to write the changelog. After typing in a message, I pressed Ctrl+O to write out and then Ctrl + X to quit the editor.</p>
<p>Now the changes were reflected in the local copies, I had to sync the server. So I used:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> commit</pre></div></div>

<p>And it transmitted all the data to the server <img src='http://masnun.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, I made some changes and updated the file using the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> update quotes</pre></div></div>

<p>Again, wrote the changelog and then :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> commit</pre></div></div>

<p>I liked the simplicity and hated that I spent up much time reading theories telling me why SVN replaced CVS <img src='http://masnun.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Well, now I decided to delete the file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> del quotes
<span style="color: #c20cb9; font-weight: bold;">svn</span> commit</pre></div></div>

<p>That was it&#8230; Easy !</p>
]]></content:encoded>
			<wfw:commentRss>http://masnun.com/blog/2009/09/13/using-svn-with-googlecode-project-hosting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
