G
G
goodgit2015-12-30 10:50:03
subversion
goodgit, 2015-12-30 10:50:03

How to revert to old revisions in repository (rollback)?

The book TortoiseSVN The Subversion Client for Windows Version 1.8 has this way to revert to old revisions in the repository (rollback):

Using the Revision Log Dialog
By far the easiest way to undo changes from one or more revisions is to use the revision log dialog.
  1. Select the file or folder where you are going to remove the changes. If you want to remove all changes, this should be the top level folder.
  2. Select TortoiseSVN → Log to display the list of revisions. You may need to use the Show All or Next 100 buttons to display the revisions you need.
  3. Select the revision you want to revert. If you want to undo a range of revisions, then select the first one and hold down the Shift key and select the last one. If you want to select individual revisions and ranges, then use the Ctrl key when selecting revisions. Right-click on the selected revisions, then select Context Menu → Revert Changes from This Revision.
  4. Or, if you wish to make an earlier revision the new leader, right-click on the selected revision, then select Context Menu → Revert to this revision. This action will undo all changes after the selected revision.

But the problem is that I have neither "Revert changes from this revision" nor "Revert to this revision" in the context menu. Why are these context menu items missing? What to do in this case?
PS If it's important - I use the repository browser to view the log, not the extracted folder on the local machine.
P.S. Clarification.
If I use some extracted folder on the local machine, then all these menu items are there. But I can’t go this way, because I accidentally deleted one necessary folder directly in the repository. Accordingly, I have nothing to extract.
If I extract the entire repository to a local machine, then I get errors related to incorrect names of other folders (unconscious people used quotes, etc.). And the extraction process is interrupted.
Thus, I'm trying to solve the problem without extracting the folders from the repository, but I can't, because there are no necessary context menu buttons directly in the repository.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Goodgit, 2015-12-30
@goodgit

Found it here: tortoisesvn.net/docs/release/TortoiseSVN_ru/tsvn-d...
If you have deleted a file or folder and have already committed that delete operation to the repository, then normal TortoiseSVN → Revert changes will not revert this back. But the file or folder is not lost forever. If you know the revision in which the file or folder was deleted (if you don't know, find it in the journal), then open the repository browser and switch to this revision. Then select the remote file or folder, right-click and select Context Menu → Copy to...

M
maaGames, 2015-12-30
@maaGames

4f7d534009b74edeb15e4046ad3dce34.png
Somehow the screenshot was saved badly, although png ... But the essence is visible.
And another moment. "Revert to old revisions" and "Revert old revisions" are two completely different things.
reverse changes:
a1fda24f8787489eb7eff5fad09906b6.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question