0 votes
in SVN by
Explain how you can revert to a previous version?

1 Answer

0 votes
by

To retrieve a previous version, you have to use “revert” command. But revert command will simply 

erase local edits, what you actually need is to “merge” command. For example, you have a file 

[abc.txt] and the current version is 101, and you want version 201. Then you will use the 

command like

svn merge –r 101:201 abc.txt

svn commit –m “Reverted to revision 201” abc.txt

Related questions

0 votes
asked Dec 20, 2020 in SVN by SakshiSharma
0 votes
asked Dec 19, 2020 in SVN by SakshiSharma
...