<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=How_to_delete_files_from_SVN</id>
	<title>How to delete files from SVN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=How_to_delete_files_from_SVN"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=How_to_delete_files_from_SVN&amp;action=history"/>
	<updated>2026-04-19T03:39:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=How_to_delete_files_from_SVN&amp;diff=5293&amp;oldid=prev</id>
		<title>Greebo: /* Mark the files for Deletion */</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=How_to_delete_files_from_SVN&amp;diff=5293&amp;oldid=prev"/>
		<updated>2007-11-27T13:54:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Mark the files for Deletion&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:54, 27 November 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The file will disappear from the file viewer. Note that the deletion is not yet completed, you have to commit your changes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The file will disappear from the file viewer. Note that the deletion is not yet completed, you have to commit your changes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note about folders: in case you marked an entire folder for deletion, the folder won&#039;t just disappear from Explorer like files. Instead, the deleted folders will be tagged with a red X icon, indicating that they will be removed the next time you commit.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Commit the Deletion ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Commit the Deletion ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=How_to_delete_files_from_SVN&amp;diff=5292&amp;oldid=prev</id>
		<title>Greebo: New page: After reading this article you should be able to remove files from the darkmod SVN repositories. It&#039;s assuming that you have a working copy of the darkmod SVN repository checked out on you...</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=How_to_delete_files_from_SVN&amp;diff=5292&amp;oldid=prev"/>
		<updated>2007-11-27T13:52:11Z</updated>

		<summary type="html">&lt;p&gt;New page: After reading this article you should be able to remove files from the darkmod SVN repositories. It&amp;#039;s assuming that you have a working copy of the darkmod SVN repository checked out on you...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;After reading this article you should be able to remove files from the darkmod SVN repositories. It&amp;#039;s assuming that you have a working copy of the darkmod SVN repository checked out on your hard drive and you&amp;#039;re using TortoiseSVN. __noTOC__&lt;br /&gt;
{{Things-To-Remember|&lt;br /&gt;
* Think twice before removing files that might be referenced by maps, models or textures.&lt;br /&gt;
* Highlight the files, right-click one of them and choose &amp;#039;&amp;#039;&amp;#039;SVN &amp;gt; Delete...&amp;#039;&amp;#039;&amp;#039;, hit OK.&lt;br /&gt;
* Commit your change (right-click the parent folder and choose &amp;#039;&amp;#039;&amp;#039;SVN Commit...&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
}}&lt;br /&gt;
== General ==&lt;br /&gt;
Just deleting a file from a repository won&amp;#039;t do anything. During the next [[SVN Glossary#Update|Update]] SVN will think the file is missing on your end and it will get restored. To actually remove a file from the repository, you need to specifically tell SVN to do so.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Background information:&amp;#039;&amp;#039; deleting a file from SVN just removes it from the HEAD revision, the file is still available in the SVN history. The SVN server never deletes anything.&lt;br /&gt;
&lt;br /&gt;
Also, be sure that you know what you&amp;#039;re doing before you start removing stuff from the SVN server. The files (materials, entityDefs, textures, models) might be referenced by other files, and deleting them might break things. Just keep this in mind.&lt;br /&gt;
&lt;br /&gt;
== Mark the files for Deletion ==&lt;br /&gt;
Let&amp;#039;s assume we want to remove an old material file from the repository, in this example I&amp;#039;m going to remove the file &amp;#039;&amp;#039;&amp;#039;unknown.mtr.backup&amp;#039;&amp;#039;&amp;#039; from the materials/ folder (actually, I&amp;#039;m pretending to do so, just play along):&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn delete 1.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
The file will disappear from the file viewer. Note that the deletion is not yet completed, you have to commit your changes.&lt;br /&gt;
&lt;br /&gt;
== Commit the Deletion ==&lt;br /&gt;
Now, right-click on the new file&amp;#039;s parent folder (in our example the material/ folder) and choose &amp;#039;&amp;#039;&amp;#039;SVN Commit...&amp;#039;&amp;#039;&amp;#039;, you&amp;#039;ll see something like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn delete 2.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
Note the remark &amp;quot;deleted&amp;quot; in the list of affected files - it&amp;#039;s also displayed in red. Enter a log message (mandatory) describing the reason of your deletion. As soon as you click OK, the change will be committed and the file is removed from the HEAD revision.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; As soon as other people will Update their working copy, the deletion will be propagated to their hard drives. You might want to give the rest of the team a heads-up about the deletion, in case they have local modifications of the deleted file they want to keep.&lt;br /&gt;
&lt;br /&gt;
== Accidentally removed files ==&lt;br /&gt;
In case you marked the wrong file to version control, you can undo that operation (&amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; you commit) by choosing &amp;#039;&amp;#039;&amp;#039;SVN &amp;gt; Revert&amp;#039;&amp;#039;&amp;#039;. Right-click the parent folder, choose revert and be sure that the check mark next to the accidentally deleted file is active. Hitting OK will remove the deletion mark and make the file reappear.&lt;br /&gt;
&lt;br /&gt;
In case you already committed the wrong file, you&amp;#039;ll have to retrieve the file from the SVN History. Use TortoiseSVN&amp;#039;s repository browser and go to the location where you deleted the file. Then, type in the revision number in the upper right entry box and hit Enter. Choose a revision where the file has still existed (think of that like of a time machine). Then you can save that file to your hard drive and re-add it like described in the [[How to add files to SVN]] article. Or ask in the forums how to do it, it&amp;#039;s not very hard.&lt;br /&gt;
&lt;br /&gt;
{{tutorial-SVN}}&lt;/div&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
</feed>