Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Use svn merge:</p> <pre><code>svn merge -c -[rev num that deleted the file] http://&lt;path to repository&gt; </code></pre> <p>So an example:</p> <pre><code>svn merge -c -12345 https://svn.mysite.com/svn/repo/project/trunk ^ The negative is important </code></pre> <p>For TortoiseSVN (I think...)</p> <ul> <li>Right click in Explorer, go to TortoiseSVN -> Merge...</li> <li>Make sure "Merge a range of revisions" is selected, click Next</li> <li>In the "Revision range to merge" textbox, specify the revision that removed the file</li> <li>Check the "Reverse merge" checkbox, click Next</li> <li>Click Merge</li> </ul> <p>That is completely untested, however.</p> <hr> <p><em>Edited by OP</em>: This works on my version of TortoiseSVN (the old kind without the next button)</p> <ul> <li>Go to the folder that stuff was delated from</li> <li>Right click in Explorer, go to TortoiseSVN -> Merge...</li> <li>in the <strong>From</strong> section enter the revision that did the delete </li> <li>in the <strong>To</strong> section enter the revision before the delete.</li> <li>Click "merge"</li> <li>commit</li> </ul> <p>The trick is to merge <em>backwards</em>. Kudos to <em>sean.bright</em> for pointing me in the right direction!</p> <hr> <p><strong>Edit:</strong> We are using different versions. The method I described worked perfectly with my version of TortoiseSVN.</p> <p>Also of note is that if there were multiple changes in the commit you are reverse merging, you'll want to revert those other changes once the merge is done before you commit. If you don't, those extra changes will also be reversed.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload