How to convert a software installation into a Subversion checkout
Say you have some web software such as WordPress, MediaWiki, or Gallery installed, and you used a tarball and not Subversion. Now, you want to manage the installation using Subversion, but you don’t want to jump through hoops running diffs and moving files around.
Here’s how to do it (thanks to Asheesh for the recipe).
- Check out the software somewhere.
(cd $PATH_TO_NON_SVN_DIR ; tar cf - . ) | (cd $PATH_TO_SVN_DIR ; tar xvf -)
This will “overlay” the non-svn-dir over the new checkout, leaving your existing installation untouched.
No Comments Yet