Photo from Chile

Subversion Makes a Fool out of Me

I've had this ongoing problem with Subversion with one of my ColdFusion projects. The set up with the client is far from ideal - here's how it works:

I have a Subversion repository for all of the code and I use it for all of my work. When I'm ready to upload changes I export from Subversion and upload either the whole thing or just the changes if there are only a few. Once the work is uploaded to the server the client can download view templates, make changes to them and upload the changes. This allows them to make changes to the appearance of the site without having to bother/pay me. We've been doing this for a few years so the client knows what they're doing and doesn't usually create problems with any existing ColdFusion code in the templates.

[More]

TweetBacks
Comments
Bob, this Subversion stuff can be tricky. I am learning my way around the minutia of functionality. Thanks for the tip. As someone new Subversion, I am sure I will run into this at some point.
# Posted By Ben Nadel | 8/20/08 8:17 AM
Another way you get around these particular issues with single directories is to first delete the directory in it's entirety. You can then right-click the parent and Revert the deleted directed. That will get the latest copy out of the repository without a need to do a full tree checkout.

Hope that helps.
# Posted By Daniel Short | 8/20/08 8:50 AM
@Ben: Yeah, Subversion rocks, but sometimes it blows too ;-)

@Daniel: Nice solution! Hopefully I won't ever need it (having learned from my mistakes), but if I do that's much better than having to do a full checkout.
# Posted By Bob Silverberg | 8/20/08 9:08 AM
Hi Bob,
Just thought I would let you know that the current "activity" at the subversion project is for version 1.7 which does away with all the ".svn" directories in preference for a database. Which will substantially speed up Subversion processes especially for deeply nested source trees.
# Posted By Gavin Baumanis | 4/22/09 12:11 AM
That's cool. Those directories can be a major pain in the a$$ ;-)
# Posted By Bob Silverberg | 4/22/09 8:03 AM