How to move all files (including .htaccess etc.) using svn move https://example.com/repos/123/* https://example.com/repos/
?
It says "svn: Path https://example.com/repos/123/*
does not exist in revision NN"
Just hold down the Shift key while you right click on the file. Then select TortoiseSVN → Diff with URL. In the following dialog, specify the URL in the repository with which you want to compare your local file to.
If you right-drag the folder and use "SVN move versioned item(s) here", then you keep the history. Even the history of the files within the folder.
So we right-click on this folder and select 'SVN Checkout…' From here we'll specify the location of the repository that we want to check our files out from. So something like… If you've forgotten what this URL is then you can go back to the VisualSVN server app and right click to select 'Copy URL to Clipboard'.
svn move does not support wild cards. In the SVN redbook they state that this command can "Move and schedule a file or directory":
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.move.html
You therefore have to call svn move for each file in the directory.
I suggest you to write a short script that does this for you or try to use one of the Subversion GUI tools.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With