<p>I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it?</p>

<p>(My current strategy has been to copy the file into the new folder and check it in and then delete the file from the current folder.)</p>

[{'answer_id': 46083, 'author': 'Commodore Jaeger', 'author_id': 4659, 'author_profile': 'https://Stackoverflow.com/users/4659', 'pm_score': 8, 'selected': True, 'text': '<p>Subversion has native support for moving files.</p>\n\n<pre><code>svn move SOURCE DESTINATION\n</code></pre>\n\n<p>See the online help (svn help move) for more information.</p>\n'}, {'answer_id': 46085, 'author': 'John Boker', 'author_id': 2847, 'author_profile': 'https://Stackoverflow.com/users/2847', 'pm_score': 2, 'selected': False, 'text': '<p>i think in the svn browser in tortoisesvn you can just drag it from one place to another.</p>\n'}, {'answer_id': 46087, 'author': 'aku', 'author_id': 1196, 'author_profile': 'https://Stackoverflow.com/users/1196', 'pm_score': 1, 'selected': False, 'text': "<p>If I'm not wrong starting from version 1.5 SVN can track moved files\\folders. In TortoiseSVN use can move file via drag&amp;drop.</p>\n"}, {'answer_id': 46088, 'author': 'DevelopingChris', 'author_id': 1220, 'author_profile': 'https://Stackoverflow.com/users/1220', 'pm_score': 1, 'selected': False, 'text': '<p>May also be called, "rename" by tortoise, but svn move, is the command in the barebones svn client.</p>\n'}, {'answer_id': 46093, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 5, 'selected': False, 'text': '<p>Using TortoiseSVN I just right-click and drag the folder from one location to another.  When you release the right-click you\'ll have the option to "SVN Move Version File."  However, I believe that SVN doesn\'t do anything "fancy" there, but simply deletes the file in the previous location and Adds it to the new location.</p>\n'}, {'answer_id': 46095, 'author': 'Ryan Lanciaux', 'author_id': 1385358, 'author_profile': 'https://Stackoverflow.com/users/1385358', 'pm_score': 2, 'selected': False, 'text': '<p>Since you\'re using Tortoise you may want to check out this link on LosTechies. It should be almost exactly what you are looking for. </p>\n\n<p><a href="http://www.lostechies.com/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx" rel="nofollow noreferrer">http://www.lostechies.com/blogs/joshua_lockwood/archive/2007/09/12/subversion-tip-of-the-day-moving-files.aspx</a></p>\n'}, {'answer_id': 46100, 'author': 'crashmstr', 'author_id': 1441, 'author_profile': 'https://Stackoverflow.com/users/1441', 'pm_score': 8, 'selected': False, 'text': '<p>Check out section <b><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-rename.html#tsvn-dug-rename-move" rel="noreferrer">5.14.2. Moving files and folders</a></b> (or check out "move" in the Index of the help) of the TortoiseSVN help. You do a move via right-dragging. It also mentions that you need to commit from the parent folder to make it "one" revision. This works for doing the change in a working copy.</p>\n\n<p>(Note that the SVN items in the following image will only show up if the destination folder has already been added to the repository.)</p>\n\n<p><img src="https://i.stack.imgur.com/3YzW2.png" alt="tortoise move menu"></p>\n\n<p>You can also do the move via the Repo Browser (section <b><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-repobrowser.html" rel="noreferrer">5.23. The Repository Browser</a>\n</b> of the help).</p>\n'}, {'answer_id': 46102, 'author': 'RedWolves', 'author_id': 648, 'author_profile': 'https://Stackoverflow.com/users/648', 'pm_score': 5, 'selected': False, 'text': '<p>In TortoiseSVN right click somewhere and go TortoiseSVN > Repo Browser open the repository.</p>\n\n<p>All you then have to do is drag and drop the file from one folder to the where you want it.  It\'ll ask you to add a commit message and it defaults it to "Moved file/folder remotely"</p>\n'}, {'answer_id': 46129, 'author': 'Keith', 'author_id': 905, 'author_profile': 'https://Stackoverflow.com/users/905', 'pm_score': 6, 'selected': False, 'text': '<p>With TortoiseSVN I just move the file on disk.</p>\n\n<p>When I come to commit my changes I select the missing file and the new one and select "<a href="http://tortoisesvn.net/repairmoves.html" rel="noreferrer">Repair move</a>" from the right click menu:</p>\n\n<p><a href="https://i.stack.imgur.com/cGWVO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cGWVO.png" alt="enter image description here"></a></p>\n\n<p>This means I can let my IDE move round files and use it refactoring tools without losing history.</p>\n'}, {'answer_id': 3811089, 'author': 'Martin', 'author_id': 338547, 'author_profile': 'https://Stackoverflow.com/users/338547', 'pm_score': 4, 'selected': False, 'text': '<p>For TortoiseSVN client:</p>\n\n<ol>\n<li>Select the files you wish to move,</li>\n<li><strong>Right</strong> click and drag the files to the folder you wish to move them to,</li>\n<li>A window will popup after you release the drag and drop on a folder. Click <em>"SVN Move versioned item(s) here"</em>,</li>\n<li>After you click the above the commit window message box will appear. Enter a message and submit. </li>\n</ol>\n\n<p>Now you are done.</p>\n'}, {'answer_id': 11454596, 'author': 'Danijel', 'author_id': 1202172, 'author_profile': 'https://Stackoverflow.com/users/1202172', 'pm_score': 0, 'selected': False, 'text': '<p>If you are moving folders via Repository Browser, then there is no Move option on right-click; the only way is to drag and drop. </p>\n'}, {'answer_id': 25660319, 'author': 'BornToCode', 'author_id': 1057791, 'author_profile': 'https://Stackoverflow.com/users/1057791', 'pm_score': 3, 'selected': False, 'text': '<p>Cut file via operating system context menu as you usually do, then instead of doing regular paste, right click to bring context menu, then choose <code>TortoiseSVN -&gt; Paste</code> (make sure you commit from root to include both old and new files in the commit).</p>\n'}, {'answer_id': 56579359, 'author': 'Anzar Ansari', 'author_id': 3976635, 'author_profile': 'https://Stackoverflow.com/users/3976635', 'pm_score': 1, 'selected': False, 'text': '<p>Transferring a file using TortoiseSVN:</p>\n\n<p><strong>Step:1</strong>\nPlease Select the files which you want to move,\nRight-click and drag the files to the folder which  you to move them to,\nA window will popup after follow the below instruction </p>\n\n<p><a href="https://i.stack.imgur.com/tf2tB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tf2tB.png" alt="SVN option "></a></p>\n\n<p><strong>Step 2:</strong>\nAfter you click the above the commit the file as below mention </p>\n\n<p><a href="https://i.stack.imgur.com/VIMUC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VIMUC.png" alt="SVN Commit"></a></p>\n'}]
['https://Stackoverflow.com/questions/46080', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1463/']