<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Subversion Tip of the Day &#8211; Moving Files</title>
	<atom:link href="http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Wed, 16 Feb 2011 11:54:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: popeto</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-29</link>
		<dc:creator>popeto</dc:creator>
		<pubDate>Wed, 06 Jan 2010 20:27:08 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-29</guid>
		<description>Another approach is to actually right click and view the repository.  There you CAN drag a folder/file from one location to another, and subversion retains the history.  When you sync, you will see the items added/deleted to reflect the new location.

If you are not seeing the history after either approach, and are using tortoise, make sure you have the &quot;Stop on copy/rename&quot; checkbox at the bottom of the Log Messages window unchecked.</description>
		<content:encoded><![CDATA[<p>Another approach is to actually right click and view the repository.  There you CAN drag a folder/file from one location to another, and subversion retains the history.  When you sync, you will see the items added/deleted to reflect the new location.</p>
<p>If you are not seeing the history after either approach, and are using tortoise, make sure you have the &#8220;Stop on copy/rename&#8221; checkbox at the bottom of the Log Messages window unchecked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: O. Ward</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-28</link>
		<dc:creator>O. Ward</dc:creator>
		<pubDate>Wed, 07 Oct 2009 19:11:41 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-28</guid>
		<description>I tried it with TortoiseSVN 1.6.3, Build 16613. It didn&#039;t work. The history was lost after the SVN move.</description>
		<content:encoded><![CDATA[<p>I tried it with TortoiseSVN 1.6.3, Build 16613. It didn&#8217;t work. The history was lost after the SVN move.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-27</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 25 Sep 2009 14:19:14 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-27</guid>
		<description>I was always wondering how to do this with TortoiseSVN and now I know.  Thanks!</description>
		<content:encoded><![CDATA[<p>I was always wondering how to do this with TortoiseSVN and now I know.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlockwood</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-26</link>
		<dc:creator>jlockwood</dc:creator>
		<pubDate>Wed, 23 Sep 2009 22:36:57 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-26</guid>
		<description>@Arvind I haven&#039;t used Tortiose in a while, but I still use svn daily (mostly at command line).  So, assuming I&#039;m on track here:

You are correct, you can&#039;t see the Add in the history until commit.  Before continuing, I&#039;d like to add that svn mv, svn rename, and svn ren are the same command.  Here&#039;s a simple model of the rename at the command line:

# added a new file to svn directory
svn add test_file.jmx
&gt;&gt; A         test_file.jmx

# committed it
svn commit -m &quot;test check-in&quot; test_file.jmx
&gt;&gt; Adding         test_file.jmx
&gt;&gt; Transmitting file data .
&gt;&gt; Committed revision 30394.

# now it can be found in repository
svn log test_file.jmx
------------------------------------------------------------------------
&gt;&gt; r30394 &#124; jlockwood &#124; 2009-09-23 12:59:03 -0500 (Wed, 23 Sep 2009) &#124; 3 &gt;&gt; lines
&gt;&gt; 
&gt;&gt; test commit

# now I rename it
svn ren test_file.jmx my_test_file.jmx
&gt;&gt; A         my_test_file.jmx
&gt;&gt; D         test_file.jmx

# now I&#039;ll commit each part separately (instead of typical &#039;svn commit&#039; for complete rename)
svn commit -m &quot;commit after rename&quot; test_file.jmx
&gt;&gt; Deleting       test_file.jmx
&gt;&gt;
&gt;&gt; Committed revision 30410.

svn commit -m &quot;commit after rename&quot; my_test_file.jmx
&gt;&gt; Adding         my_test_file.jmx
&gt;&gt; Transmitting file data .
&gt;&gt; Committed revision 30411.

&gt;&gt; svn log my_test_file.jmx
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; r30411 &#124; jlockwood &#124; 2009-09-23 17:28:04 -0500 (Wed, 23 Sep 2009) &#124; 1 line
&gt;&gt; 
&gt;&gt; commit after rename
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; r30394 &#124; jlockwood &#124; 2009-09-23 12:59:03 -0500 (Wed, 23 Sep 2009) &#124; 3 lines
&gt;&gt; 
&gt;&gt; test commit

* so you can see by the &quot;test commit&quot; message that the revision history of the same &quot;file&quot; is preserved, even though the filename has changed.  It is true that you will see an Add/Delete pair for a rename or move command, but the important thing is that as files are moved and/or renamed they do not lose continuity in regard to their revision history.
</description>
		<content:encoded><![CDATA[<p>@Arvind I haven&#8217;t used Tortiose in a while, but I still use svn daily (mostly at command line).  So, assuming I&#8217;m on track here:</p>
<p>You are correct, you can&#8217;t see the Add in the history until commit.  Before continuing, I&#8217;d like to add that svn mv, svn rename, and svn ren are the same command.  Here&#8217;s a simple model of the rename at the command line:</p>
<p># added a new file to svn directory<br />
svn add test_file.jmx<br />
>> A         test_file.jmx</p>
<p># committed it<br />
svn commit -m &#8220;test check-in&#8221; test_file.jmx<br />
>> Adding         test_file.jmx<br />
>> Transmitting file data .<br />
>> Committed revision 30394.</p>
<p># now it can be found in repository<br />
svn log test_file.jmx<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
>> r30394 | jlockwood | 2009-09-23 12:59:03 -0500 (Wed, 23 Sep 2009) | 3 >> lines<br />
>><br />
>> test commit</p>
<p># now I rename it<br />
svn ren test_file.jmx my_test_file.jmx<br />
>> A         my_test_file.jmx<br />
>> D         test_file.jmx</p>
<p># now I&#8217;ll commit each part separately (instead of typical &#8216;svn commit&#8217; for complete rename)<br />
svn commit -m &#8220;commit after rename&#8221; test_file.jmx<br />
>> Deleting       test_file.jmx<br />
>><br />
>> Committed revision 30410.</p>
<p>svn commit -m &#8220;commit after rename&#8221; my_test_file.jmx<br />
>> Adding         my_test_file.jmx<br />
>> Transmitting file data .<br />
>> Committed revision 30411.</p>
<p>>> svn log my_test_file.jmx<br />
>> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
>> r30411 | jlockwood | 2009-09-23 17:28:04 -0500 (Wed, 23 Sep 2009) | 1 line<br />
>><br />
>> commit after rename<br />
>> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
>> r30394 | jlockwood | 2009-09-23 12:59:03 -0500 (Wed, 23 Sep 2009) | 3 lines<br />
>><br />
>> test commit</p>
<p>* so you can see by the &#8220;test commit&#8221; message that the revision history of the same &#8220;file&#8221; is preserved, even though the filename has changed.  It is true that you will see an Add/Delete pair for a rename or move command, but the important thing is that as files are moved and/or renamed they do not lose continuity in regard to their revision history.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-25</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Tue, 22 Sep 2009 18:33:29 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-25</guid>
		<description>I am not sure I understand completely. How can you see the History when it is in Add mode after move. Do you need to commit after you see add?</description>
		<content:encoded><![CDATA[<p>I am not sure I understand completely. How can you see the History when it is in Add mode after move. Do you need to commit after you see add?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modern Art Sale</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-24</link>
		<dc:creator>Modern Art Sale</dc:creator>
		<pubDate>Mon, 30 Mar 2009 16:39:11 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-24</guid>
		<description>I tried today using the same technique to RENAME the files, keeping in the same folder - and SVN lost the connection. The result was &quot;delete old, add new&quot;.</description>
		<content:encoded><![CDATA[<p>I tried today using the same technique to RENAME the files, keeping in the same folder &#8211; and SVN lost the connection. The result was &#8220;delete old, add new&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkata Ramesh</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-23</link>
		<dc:creator>Venkata Ramesh</dc:creator>
		<pubDate>Wed, 18 Feb 2009 13:44:48 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-23</guid>
		<description>very very usefull. It save so much time for me. Thank you</description>
		<content:encoded><![CDATA[<p>very very usefull. It save so much time for me. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkata Ramesh</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-22</link>
		<dc:creator>Venkata Ramesh</dc:creator>
		<pubDate>Wed, 18 Feb 2009 13:42:42 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-22</guid>
		<description>greatefull</description>
		<content:encoded><![CDATA[<p>greatefull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ART by LENA</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-21</link>
		<dc:creator>ART by LENA</dc:creator>
		<pubDate>Sat, 14 Feb 2009 03:58:55 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-21</guid>
		<description>Thank you very much for your time! That hidden SVN menu was definitely not obvious.....</description>
		<content:encoded><![CDATA[<p>Thank you very much for your time! That hidden SVN menu was definitely not obvious&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asif</title>
		<link>http://lostechies.com/joshualockwood/2007/09/12/subversion-tip-of-the-day-moving-files/#comment-20</link>
		<dc:creator>Asif</dc:creator>
		<pubDate>Thu, 11 Dec 2008 17:31:10 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx#comment-20</guid>
		<description>Thanks for the tip......I was surprised not to find a move option in the normal right-click context menu of TortoiseSVN......this helped a lot.

The method is easy to use once you have figured it out......but I think it&#039;s quite non-intuitive.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip&#8230;&#8230;I was surprised not to find a move option in the normal right-click context menu of TortoiseSVN&#8230;&#8230;this helped a lot.</p>
<p>The method is easy to use once you have figured it out&#8230;&#8230;but I think it&#8217;s quite non-intuitive.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
