SVN - delete a revision, or make an older revision the head

前端 未结 3 2049
自闭症患者
自闭症患者 2021-01-02 02:14

I\'m fairly new to SVN and I\'ve never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I\'m using TortoiseSVN a

3条回答
  •  被撕碎了的回忆
    2021-01-02 02:23

    It's a common use for svn merge.
    You need to specify a reverse difference (e.g. --revision 303:302 or by an equivalent --change -303):

     svn merge -c -303 http://svn.example.com/repos/calc/trunk
    

提交回复
热议问题