SVN externals allow to include (nest) a remote SVN repository into another SVN repository. They are a great way to keep the latest code from another repository without having to do much.
One thing you will need to do is tell svn what revision of this remote SVN repository to load. To do that, do the following.
Continue reading “How to set revision number to svn external”
When you check-in to SVN with
svn ci, the default editor opens to allow you to enter your commit message. My default editor was Emacs. I don’t use Emacs for anything else, and I found entering a simple message a tad frustrating as Emacs commands/shortcuts are different to what I use with Vim.
Continue reading “Change SVN editor to Vim or TextWrangler”
You may want to copy the contents of one folder to another, but if the original folder is already added to Subversion (SVN) you get an error when committing the new folder.
When a folder is committed to SVN, a
.svn folder is added to each folder within the folder subdirectory. To un-add the folder from SVN, you simply remove this
To save time, you can remove all
.svn folders within the folder subdirectory by using the following command.
Continue reading “Remove all .svn folders in subdirectory”
If you have ever deployed code from a SVN repository with a bug in it and you need to revert to a working revision then you may find the following handy.
First find the revision numbers for the file(s) in question.
Use the log command to get the info from previous commits including revision numbers.
So something like… Continue reading “Revert or rollback a SVN revision”