The final task we want to demonstrate for you is how you can take a working copy and turn it back into a bunch of normal files and folders. If you need to send a copy of your project to a friend or a client who is not an SVN user, you don't want to include all those .svn
folders. Another scenario is maybe you need to change repositories, and you need to purge all the .svn
folders that associate the code with a particular repository. In this chapter, we have been submitting code to the Google repository, so how do we transition this code so that we can store it in the WordPress repository? We'll show you how to publish your plugin in Chapter 10, but you'll need to first extract the raw files and folders from your local copy using the export
command:
svn export /path/to/my/working/copy /path/to/backup/destination/my-export
Or you can use the following if you are in the root of your current working copy:
svn export . /path/to/backup/destination/my-export
Just like the...