Hi,
We had a file in our repository that we deleted several revisions ago. How do we get it back using TortoiseSVN without reverting our entire repository?
Hi,
We had a file in our repository that we deleted several revisions ago. How do we get it back using TortoiseSVN without reverting our entire repository?
In the repo browser, there is a menu that says some to the effect of goto version. From here you can browse the filed that were availble in that revision and drag and drop the file out. i would check the actual program bur I'm currently on my phone.
Hope this helps
Once you know the revision number where the file was deleted (using the repository browser is probably the easiest way to find this). Do a check out to a new location before that revision.
The other answers appear to focus on restoring an entire revision (using a different location), so here's how to only restore a single file, without having to check out an entire revision, using TortoiseSVN:
The file is restored and re-added to the repository. I am not 100% certain if Subversion will treat it as a different file, or as a new revision of the file.