title: Undo check out of subfolder in TortoiseSVN
body: <hr>
  
  <p><em>How do I "un-checkout" a <strong>subfolder</strong> using TortoiseSVN?</em></p>
  
  <hr>
  
  <p>What have I tried:</p>
  
  <ul>
  <li><a href="http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&amp;dsMessageId=964069" rel="nofollow noreferrer">Delete the entire subfolder</a></li>
  <li><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-export.html" rel="nofollow noreferrer">Export-in-place</a>, i.e. exporting the folder on top of itself</li>
  <li>Search SO for things like <a href="https://stackoverflow.com/search?q=SVN+undo+checkout">undo+svn+checkout</a></li>
  <li>Peek inside the hidden <code>.svn</code> folders to see if I could manually edit things</li>
  </ul>
  
  <p>The first two options seemed to work at first, but when I hit <em>Check for modifications</em> on the top-level folder it would tell me <strong>the subfolder and its contents were "missing"</strong>. This is of course not what I want.</p>
  
  <p>To make things clearer, the relevant bit of my folder structure is similar to this:</p>
  
  <pre><code>//Repository/trunk/...
  //Repository/branches
                       /some-feature-branch1/...
                       /some-feature-branch2/...
                       /some-feature-branch3/...
                       /some-feature-branch4/...
                       etc.
  </code></pre>
  
  <p>In the past I've done the following:</p>
  
  <ul>
  <li>Check out the <code>//Repository/branches</code> folder locally, without recursively grabbing the content.</li>
  <li>Made individual check-outs of some (but not all) feature branch subfolders</li>
  </ul>
  
  <p>I'm trying to remove -say- <code>some-feature-branch3</code> from my local disk, but this always leads to status "missing" for the subfolder, when checking the "branches" folder for modifications.</p>
  
  <p>Note that I'd prefer a way to fix this using <em>TortoiseSVN</em>, but if it isn't possible a command-line fix would be an acceptable alternative.</p>