Can I delete a commit in Subversion?

后端 未结 4 1768
忘了有多久
忘了有多久 2021-01-04 06:33

Per accident I committed twice because I forgot to add two files. Can I remove a specific commit from the log?

\

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-04 06:53

    The simple answer is "no", because Subversion doesn't know how to resolve the case when you add a commit, someone else updates their checkout, and then you remove the commit from history. There might or might not be a complex answer involving surgery on the Subversion storage.

提交回复
热议问题