Question: I want svn update to overwrite my local file with the files from the server, even if my local files have modifications, I want to throw them away and use the version that's on the remote repository.

How do I do that? I tried `svn update --force` but it doesn't work.

### Update:

Thanks for the answers, so I'm using revert like this:

```
svn revert . -R

```

Is this how I'm supposed to use it? is it safe? I have a git repository in the same pace and I don't want svn to corrupt my `.git` for me!

Answer: 
I just wanted to add a little to what diyism posted. 

I didn't see the `.` next to the `;` in the line 

```
svn revert -R .; svn up

```

and it confused me. I don't know why you need to explicitly use `.` for all files when using **revert** and you don't using **update** but that seems to be the way it is. 

So, in case it helps anyone, I thought it would be more clear to see the answer as two lines

```
svn revert -R .
svn update

```
Worst case, delete the contents of your working copy (excluding the .svn folder) and do an update.