**duplicate**: [What’s a simple way to undelete a file in subversion?](https://stackoverflow.com/questions/497670/whats-a-simple-way-to-undelete-a-file-in-subversion/497671)

---

What is the best way to undo removal of a file and keep the file history.

I've removed a file by accident, and commited it along with other changes.

I can get an older revision of the file and add it to svn, but I think this approach will lose change history.

How do I keep the history?