<?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>Linux Ask! &#187; SVN</title>
	<atom:link href="http://www.linuxask.com/topics/revision-control-systems/svn-revision-control-systems/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxask.com</link>
	<description>Linux Ask! is a Q &#38; A web site specific for Linux related questions such as how to use common Linux commands.</description>
	<lastBuildDate>Tue, 05 May 2015 07:15:40 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Show the diff of last commit in svn</title>
		<link>http://www.linuxask.com/questions/show-the-diff-of-last-commit-in-svn</link>
		<comments>http://www.linuxask.com/questions/show-the-diff-of-last-commit-in-svn#comments</comments>
		<pubDate>Wed, 12 Sep 2012 03:04:23 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4009</guid>
		<description><![CDATA[Show the diff of last commit in svn Answer: Someone has just committed their changes to the svn and you want to find what have changed, just use the command: # svn diff -rPREV<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/how-do-i-diff-the-changes-which-have-been-staged-but-not-committed-in-git" rel="bookmark" title="How do I diff the changes which have been staged but not committed in Git?">How do I diff the changes which have been staged but not committed in Git? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-diff-two-remote-files-over-ssh" rel="bookmark" title="How to diff two remote files over ssh?">How to diff two remote files over ssh? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Show the diff of last commit in svn</p>
<p><strong>Answer:</strong></p>
<p>Someone has just committed their changes to the <strong>svn</strong> and you want to find what have changed, just use the command:</p>
<p><code># svn diff -rPREV</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/how-do-i-diff-the-changes-which-have-been-staged-but-not-committed-in-git" rel="bookmark" title="How do I diff the changes which have been staged but not committed in Git?">How do I diff the changes which have been staged but not committed in Git? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-diff-two-remote-files-over-ssh" rel="bookmark" title="How to diff two remote files over ssh?">How to diff two remote files over ssh? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/show-the-diff-of-last-commit-in-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove SVN client credentials caching</title>
		<link>http://www.linuxask.com/questions/remove-svn-client-credentials-caching</link>
		<comments>http://www.linuxask.com/questions/remove-svn-client-credentials-caching#comments</comments>
		<pubDate>Tue, 04 Sep 2012 02:59:58 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4007</guid>
		<description><![CDATA[Remove SVN client credentials caching Answer: svn will store your credentials information at "~/.subversion/auth/svn.simple/" for caching to help you from typing password on every svn commands. In order to clean this cache, you can # rm -f ~/.subversion/auth/svn.simple/*<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-check-failed-login-attempt-in-ubuntu" rel="bookmark" title="How to check failed login attempt in Ubuntu">How to check failed login attempt in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/remove-un-staged-files-or-directories-from-git-repository" rel="bookmark" title="Remove un-staged files or directories from Git repository">Remove un-staged files or directories from Git repository </a></li>
<li><a href="http://www.linuxask.com/questions/downgrade-the-format-of-a-subversion-working-copy" rel="bookmark" title="Downgrade the format of a Subversion working copy">Downgrade the format of a Subversion working copy </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Remove SVN client credentials caching</p>
<p><strong>Answer:</strong></p>
<p><strong>svn</strong> will store your credentials information at "<strong>~/.subversion/auth/svn.simple/</strong>" for caching to help you from typing password on every svn commands. In order to clean this cache, you can</p>
<p><code># rm -f ~/.subversion/auth/svn.simple/*</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-check-failed-login-attempt-in-ubuntu" rel="bookmark" title="How to check failed login attempt in Ubuntu">How to check failed login attempt in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/remove-un-staged-files-or-directories-from-git-repository" rel="bookmark" title="Remove un-staged files or directories from Git repository">Remove un-staged files or directories from Git repository </a></li>
<li><a href="http://www.linuxask.com/questions/downgrade-the-format-of-a-subversion-working-copy" rel="bookmark" title="Downgrade the format of a Subversion working copy">Downgrade the format of a Subversion working copy </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/remove-svn-client-credentials-caching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show svn log for a particular folder</title>
		<link>http://www.linuxask.com/questions/show-svn-log-for-a-particular-folder</link>
		<comments>http://www.linuxask.com/questions/show-svn-log-for-a-particular-folder#comments</comments>
		<pubDate>Thu, 24 Nov 2011 06:32:46 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3580</guid>
		<description><![CDATA[Show svn log for a particular folder Answer: To show the svn log for a particular folder, just need to use.. # svn log /data/foo ------------------------------------------------------------------------ r1935 &#124; john@example.com &#124; 2011-11-23 19:05:43 +0800 (Wed, 23 Nov 2011) &#124; 1 line Fixed the crash issue (Jira 2001) ------------------------------------------------------------------------ r1934 &#124; john@example.com &#124; 2011-11-23 18:47:54 +0800 (Wed, <a href='http://www.linuxask.com/questions/show-svn-log-for-a-particular-folder' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-delete-a-folder-in-linux-recursively" rel="bookmark" title="How to delete a folder in Linux recursively?">How to delete a folder in Linux recursively? </a></li>
<li><a href="http://www.linuxask.com/questions/show-the-domain-name-servers-for-a-domain" rel="bookmark" title="Show the Domain Name Servers for a domain">Show the Domain Name Servers for a domain </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-show-line-number-in-vi-vim" rel="bookmark" title="How to show line number in vi / vim?">How to show line number in vi / vim? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Show svn log for a particular folder</p>
<p><strong>Answer:</strong></p>
<p>To show the svn log for a particular folder, just need to use..</p>
<pre><code># svn log /data/foo

------------------------------------------------------------------------
r1935 | john@example.com | 2011-11-23 19:05:43 +0800 (Wed, 23 Nov 2011) | 1 line

Fixed the crash issue (Jira 2001)
------------------------------------------------------------------------
r1934 | john@example.com | 2011-11-23 18:47:54 +0800 (Wed, 23 Nov 2011) | 1 line

Added missed files</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-delete-a-folder-in-linux-recursively" rel="bookmark" title="How to delete a folder in Linux recursively?">How to delete a folder in Linux recursively? </a></li>
<li><a href="http://www.linuxask.com/questions/show-the-domain-name-servers-for-a-domain" rel="bookmark" title="Show the Domain Name Servers for a domain">Show the Domain Name Servers for a domain </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-show-line-number-in-vi-vim" rel="bookmark" title="How to show line number in vi / vim?">How to show line number in vi / vim? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/show-svn-log-for-a-particular-folder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to merge a branch back into trunk using SVN</title>
		<link>http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn</link>
		<comments>http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn#comments</comments>
		<pubDate>Fri, 07 Oct 2011 06:54:11 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3545</guid>
		<description><![CDATA[How to merge a branch back into trunk using SVN Answer: To merge a branch back into the trunk using SVN: (Assume your local corresponding folders are branch and trunk) 1. Get the revision number at which the branch was created # cd branch # svn log --stop-on-copy 2. Get the head revision number of <a href='http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/merge-changes-from-trunk-into-branch-in-svn" rel="bookmark" title="Merge changes from trunk into branch in SVN">Merge changes from trunk into branch in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to merge a branch back into trunk using SVN</p>
<p><strong>Answer:</strong></p>
<p>To merge a branch back into the trunk using <strong>SVN</strong>: (Assume your local corresponding folders are <strong>branch</strong> and <strong>trunk</strong>)</p>
<p>1. Get the revision number at which the <strong>branch </strong>was created</p>
<pre><code># cd branch
# svn log --stop-on-copy</code></pre>
<p>2. Get the head revision number of your trunk</p>
<pre><code># cd trunk
# svn update</code></pre>
<p>3. Merge in action</p>
<pre><code># cd trunk
# svn merge -r &lt;BRANCH_CREATION_REVISION_NUMBER&gt;:&lt;HEAD_REVISION_NUMBER&gt;
               http://example.com/svn/repos/demo/branches/&lt;MY_BRANCH&gt; .
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/merge-changes-from-trunk-into-branch-in-svn" rel="bookmark" title="Merge changes from trunk into branch in SVN">Merge changes from trunk into branch in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revert all local changes in SVN</title>
		<link>http://www.linuxask.com/questions/revert-all-local-changes-in-svn</link>
		<comments>http://www.linuxask.com/questions/revert-all-local-changes-in-svn#comments</comments>
		<pubDate>Mon, 03 Oct 2011 06:46:10 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3536</guid>
		<description><![CDATA[Revert all local changes in SVN Answer: Too revert all local changes in your current SVN repository, you can run the following command # svn st -q &#124; awk '{print $2;}' &#124; xargs svn revert That is it.<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/do-not-save-backup-copies-of-files-when-doing-revert-in-mercurial" rel="bookmark" title="Do not save backup copies of files when doing revert in Mercurial">Do not save backup copies of files when doing revert in Mercurial </a></li>
<li><a href="http://www.linuxask.com/questions/revert-uncommitted-change-in-git" rel="bookmark" title="Revert uncommitted change in Git">Revert uncommitted change in Git </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Revert all local changes in SVN</p>
<p><strong>Answer:</strong></p>
<p>Too revert all local changes in your current SVN repository, you can run the following command</p>
<p><code># svn st -q | awk '{print $2;}' | xargs svn revert</code></p>
<p>That is it.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn" rel="bookmark" title="How to revert a bad commit in SVN">How to revert a bad commit in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/do-not-save-backup-copies-of-files-when-doing-revert-in-mercurial" rel="bookmark" title="Do not save backup copies of files when doing revert in Mercurial">Do not save backup copies of files when doing revert in Mercurial </a></li>
<li><a href="http://www.linuxask.com/questions/revert-uncommitted-change-in-git" rel="bookmark" title="Revert uncommitted change in Git">Revert uncommitted change in Git </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/revert-all-local-changes-in-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move a directory in a subversion repository</title>
		<link>http://www.linuxask.com/questions/move-a-directory-in-a-subversion-repository</link>
		<comments>http://www.linuxask.com/questions/move-a-directory-in-a-subversion-repository#comments</comments>
		<pubDate>Tue, 09 Aug 2011 12:59:12 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3282</guid>
		<description><![CDATA[Move a directory in a subversion repository Answer: To move a directory in a subversion repository, the method we used is very similar to rename a directory under an UNIX shell. # svn move -m "Move a directory" http://example.com/svn/repos/demo/trunk/foo http://example.com/svn/repos/demo/trunk/bar<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository" rel="bookmark" title="List files under a directory in SVN repository">List files under a directory in SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/downgrade-the-format-of-a-subversion-working-copy" rel="bookmark" title="Downgrade the format of a Subversion working copy">Downgrade the format of a Subversion working copy </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Move a directory in a subversion repository</p>
<p><strong>Answer:</strong></p>
<p>To move a directory in a subversion repository, the method we used is very similar to rename a directory under an UNIX shell.</p>
<p><code># svn move -m "Move a directory" http://example.com/svn/repos/demo/trunk/foo  http://example.com/svn/repos/demo/trunk/bar </code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository" rel="bookmark" title="List files under a directory in SVN repository">List files under a directory in SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/downgrade-the-format-of-a-subversion-working-copy" rel="bookmark" title="Downgrade the format of a Subversion working copy">Downgrade the format of a Subversion working copy </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/move-a-directory-in-a-subversion-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List files under a directory in SVN repository</title>
		<link>http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository</link>
		<comments>http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:55:45 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3279</guid>
		<description><![CDATA[List files under a directory in SVN repository Answer: To list all the files or sub-directories inside a given SVN repository's directory, you can try: # svn ls http://example.com/svn/repos/demo/trunk<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/move-a-directory-in-a-subversion-repository" rel="bookmark" title="Move a directory in a subversion repository">Move a directory in a subversion repository </a></li>
<li><a href="http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository" rel="bookmark" title="Import files and directories into a SVN repository">Import files and directories into a SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>List files under a directory in SVN repository  </p>
<p><strong>Answer:</strong></p>
<p>To list all the files or sub-directories inside a given <strong>SVN </strong>repository's directory, you can try:</p>
<p><code># svn ls http://example.com/svn/repos/demo/trunk</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/move-a-directory-in-a-subversion-repository" rel="bookmark" title="Move a directory in a subversion repository">Move a directory in a subversion repository </a></li>
<li><a href="http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository" rel="bookmark" title="Import files and directories into a SVN repository">Import files and directories into a SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-branches-in-svn" rel="bookmark" title="Create a branches in SVN">Create a branches in SVN </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove added files using svn add</title>
		<link>http://www.linuxask.com/questions/remove-added-files-using-svn-add</link>
		<comments>http://www.linuxask.com/questions/remove-added-files-using-svn-add#comments</comments>
		<pubDate>Mon, 11 Jul 2011 13:45:39 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3197</guid>
		<description><![CDATA[Remove added files using svn add Answer: To remove files from committed into the SVN in the next commit if you have just added them using the svn add, you should use svn revert e.g. # svn revert file.txt<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-downloaded-archive-files-from-apt-get" rel="bookmark" title="Remove downloaded archive files from apt-get">Remove downloaded archive files from apt-get </a></li>
<li><a href="http://www.linuxask.com/questions/remove-packages-and-config-files-in-ubuntu" rel="bookmark" title="Remove packages and config files in Ubuntu">Remove packages and config files in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-all-orig-files-created-by-mercurial" rel="bookmark" title="How to remove all .orig files created by Mercurial">How to remove all .orig files created by Mercurial </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Remove added files using svn add</p>
<p><strong>Answer:</strong></p>
<p>To remove files from committed into the SVN in the next commit if you have just added them using the <strong>svn add</strong>, you should use <strong>svn revert</strong></p>
<p>e.g.</p>
<p><code># svn revert file.txt</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-downloaded-archive-files-from-apt-get" rel="bookmark" title="Remove downloaded archive files from apt-get">Remove downloaded archive files from apt-get </a></li>
<li><a href="http://www.linuxask.com/questions/remove-packages-and-config-files-in-ubuntu" rel="bookmark" title="Remove packages and config files in Ubuntu">Remove packages and config files in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-all-orig-files-created-by-mercurial" rel="bookmark" title="How to remove all .orig files created by Mercurial">How to remove all .orig files created by Mercurial </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/remove-added-files-using-svn-add/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to revert a bad commit in SVN</title>
		<link>http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn</link>
		<comments>http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn#comments</comments>
		<pubDate>Wed, 29 Jun 2011 17:25:54 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3148</guid>
		<description><![CDATA[How to revert a bad commit in SVN Answer: In SVN, if you have committed something wrong, how do you rollback it? You cannot use the svn revert command since it has been commited, you need to do a merge instead E.g. Rollback from current version to revision 98 # svn merge -r HEAD:98 http://example.com/svn/repos/demo/trunk <a href='http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn" rel="bookmark" title="How to merge a branch back into trunk using SVN">How to merge a branch back into trunk using SVN </a></li>
<li><a href="http://www.linuxask.com/questions/merge-changes-from-trunk-into-branch-in-svn" rel="bookmark" title="Merge changes from trunk into branch in SVN">Merge changes from trunk into branch in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/revert-all-local-changes-in-svn" rel="bookmark" title="Revert all local changes in SVN">Revert all local changes in SVN </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to revert a bad commit in SVN</p>
<p><strong>Answer:</strong></p>
<p>In <strong>SVN</strong>, if you have committed something wrong, how do you rollback it? </p>
<p>You cannot use the <strong>svn revert </strong> command since it has been commited, you need to do a <strong>merge </strong>instead</p>
<p>E.g. Rollback from current version to revision 98</p>
<pre><code># svn merge -r HEAD:98 http://example.com/svn/repos/demo/trunk 
# svn commit -m "Reverting previous bad commit and going back to revision 98"
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-merge-a-branch-back-into-trunk-using-svn" rel="bookmark" title="How to merge a branch back into trunk using SVN">How to merge a branch back into trunk using SVN </a></li>
<li><a href="http://www.linuxask.com/questions/merge-changes-from-trunk-into-branch-in-svn" rel="bookmark" title="Merge changes from trunk into branch in SVN">Merge changes from trunk into branch in SVN </a></li>
<li><a href="http://www.linuxask.com/questions/revert-all-local-changes-in-svn" rel="bookmark" title="Revert all local changes in SVN">Revert all local changes in SVN </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-revert-a-bad-commit-in-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import files and directories into a SVN repository</title>
		<link>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository</link>
		<comments>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository#comments</comments>
		<pubDate>Thu, 23 Jun 2011 16:56:30 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3137</guid>
		<description><![CDATA[Import files and directories into a SVN repository Answer: To import files and directories into a SVN repository, you can use the svn import command. E.g. Import all files and directories under the current working directory "project1" to a local SVN repository # cd /data/project1 svn import file:///data/svn/project1<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository" rel="bookmark" title="List files under a directory in SVN repository">List files under a directory in SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/update-the-local-cvs-repository" rel="bookmark" title="Update the local CVS repository">Update the local CVS repository </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive" rel="bookmark" title="Create a SVN Repository on local drive">Create a SVN Repository on local drive </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Import files and directories into a SVN repository</p>
<p><strong>Answer:</strong></p>
<p>To import files and directories into a SVN repository, you can use the <strong>svn import</strong> command.</p>
<p>E.g.</p>
<p>Import all files and directories under the current working directory "<strong>project1</strong>" to a local SVN repository</p>
<pre><code># cd /data/project1
svn import file:///data/svn/project1
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository" rel="bookmark" title="List files under a directory in SVN repository">List files under a directory in SVN repository </a></li>
<li><a href="http://www.linuxask.com/questions/update-the-local-cvs-repository" rel="bookmark" title="Update the local CVS repository">Update the local CVS repository </a></li>
<li><a href="http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive" rel="bookmark" title="Create a SVN Repository on local drive">Create a SVN Repository on local drive </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
