Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you understand how SVN branches work, emulating Shelve in SVN is a no-brainer:</p> <ol> <li>Create a branch in the repository (on the server)</li> <li>Switch your local copy to it</li> <li>Commit your changes to the new branch</li> <li>Switch your local copy back to the trunk</li> </ol> <p>When you are ready to get back to your shelved changes ("unshelve"), simply merge the shelf branch back to your local copy.</p> <p>If you don't know command-line SVN nor Tortoise SVN well enough to do the above, here's a super detailed step-by-step instruction on how to do it in Tortoise SVN:</p> <ol> <li>Do "SVN Update" to update your working copy to the latest version of the trunk. This way the only differences between your local copy and the trunk are your changes.</li> <li>From the context menu select "Branch / Tag"</li> <li>"HEAD version in the repository" option is selected by default. Keep that.</li> <li>Change the "To Url" to specify branch name, e.g. <code>http://server/repository/project1/branches/shelf1</code></li> <li>Check the "Switch working copy to new branch/tag" box</li> <li>Click Ok to create the branch and switch to it</li> <li>Do "SVN Commit..." and commit your changes to the newly created branch</li> <li>From the context menu select "Switch..."</li> <li>Change the "To URL" to the trunk URL e.g. <code>http://server/repository/project1/trunk</code></li> <li>Click Ok to switch back to the trunk</li> </ol> <p>See this link for even more details and the command-line equivalent of the above:<br> <a href="http://markphip.blogspot.com/2007/01/shelves-in-subversion.html">Shelves in Subversion</a></p>
 

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