views:

81

answers:

3

I am using Google code svn and have a repository setup. Inside the repository I am including TinyMCE and now I want to upgrade all the files in this folder. The problem I am having is if I checkout locally and then download their new version and replace the folder it wipes out all my svn files. So in effect removes it from version control.

I was wondering what is the best method to update those folders & files but keep the svn files intact? I have been searching but can't seem to locate any simple method.

A: 

What you may want is to setup svn:externals, or you may also want to take a look at something like Piston.

Zoredache
A: 

Something as simple as tar will not nuke the .svn directories. Or rsync (unless you ask it to), or unzip, or writing a simple shell script, or...

derobert
A: 

You may want to use the ditto command.

It's as simple as:

ditto /path/to/newFiles /path/to/your/workingCopy
Koraktor