user983043
user983043

Reputation: 111

How to revert all files in directory to older SVN version

I want to revert the SVN files on my computer only to an older version. I don't want to commit the changes to the repository.

I tried svn merge -rCurrentVersion:revertToVersion, but I get:

[root]# svn merge -r150:139
svn: Try 'svn help' for more info
svn: Merge source required

How do I do this?

Upvotes: 1

Views: 4864

Answers (1)

Albin Sunnanbo
Albin Sunnanbo

Reputation: 47038

Use the svn update command with the --revision flag.

svn update -r 139

Upvotes: 5

Related Questions