Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘svn’

How-To: Recursively remove .svn folders

Okay, so you’ve accidentally adding a bunch of files to SVN.  Or, you need to copy a bunch of files but you don’t want to take the .svn folders with you.  How to get rid of these?  On any *nix machine (Mac included) you can run the following command: rm -rf `find . -type d [...]

Comments (1)

How-To: Move change the address of a SVN repository

So you’ve changed where you host your subversion repository for a particular project and you want to update your local copy so that it points at the correct address?   How do you do this?  Simple: svn switch –relocate http://oldserver.com/PROJECT  http://newserver.com/PROJECT This will recursively modify all the .svn folders contents so they point to the correct [...]

Leave a Comment

How-To: Install Subversion (SVN) 1.5 on Mac OS X

We use CVSDude.org to host all our subversion repositories.  They have recently upgraded to subversion 1.5.0 which is not compatible with 1.4.x clients.  Unfortunately the command line utility that is built into Mac OS X is only at version 1.4.4 on my MacBook Pro – so I needed a way to upgrade to version 1.5. [...]

Comments (1)

Hosting Your SVN Repository: CVSDude.com

As a developer, it is really important to have a reliable code repository. I use SVN (subversion) for all my projects and have been looking around for a decent way of outsourcing the repository – I want it accessible to all my staff all the time, it should also be secure and redundant. We have [...]

Comments (1)

TortoiseSVN for Mac OS X: SCPlugin

I’ll admit I’m a recently reformed windows user, as I’ve really only been using a Mac for the part 8 months. One thing I really missed as a developer when switching to the Mac was a nice integrated SVN client like TortoiseSVN. Thankfully, there is SCPlugin – a Finder plugin for Mac OS X which [...]

Comments (1)

SVN: Creating a new project using command line

I always forget the syntax for creating a new project using SVN via the command line. So here it is: svn import <directory> <repository path> -m “Initial checkin” Where the directory should contain the files you want to add to the repository, and the repository path should be something like: svn+ssh://evan@charzard/usr/local/svn/repository/trunk/1.0/<project name>

Leave a Comment