1.

State The Process Involved To Revert To A Previous Version?

Answer»

For the purpose of retrieving the previously existing version, the main command on which you are needed to focus is the “REVERT” command. The action performed by the revert command is that it SIMPLY erase all the local edits. But the main command which is needed to be used for this OPERATION is the “merge” command. 

 This can be explained with a simple example. For instance, the present version of your file [xyz.txt] is version 201 and the version which you currently require is 301.

In such an instance the command code should be executed in this MANNER

 svn merge –r 201:301 xyz.txt

svn commit –m “Reverted to revision 301” xyz.txt

For the purpose of retrieving the previously existing version, the main command on which you are needed to focus is the “revert” command. The action performed by the revert command is that it simply erase all the local edits. But the main command which is needed to be used for this operation is the “merge” command. 

 This can be explained with a simple example. For instance, the present version of your file [xyz.txt] is version 201 and the version which you currently require is 301.

In such an instance the command code should be executed in this manner

 svn merge –r 201:301 xyz.txt

svn commit –m “Reverted to revision 301” xyz.txt



Discussion

No Comment Found