Reverting single file in SVN to a particular revision

前端 未结 14 1870
生来不讨喜
生来不讨喜 2021-01-29 18:09

I have a file as shown below in an SVN repo that I would like to revert to a previous version. What is the way to do this in SVN? I want only downgrade this particular file to a

14条回答
  •  春和景丽
    2021-01-29 18:57

    If you just want the old file in your working copy:

    svn up -r 147 myfile.py
    

    If you want to rollback, see this "How to return to an older version of our code in subversion?".

提交回复
热议问题