Papers/Others
difference between "Rollback" and "Back out'
tomato13
2012. 1. 12. 14:20
Both operations work by essentially submitting old revisions as new revisions. When you perform a "Rollback...", you are restoring the files to the state they were in at a specific point in time, regardless of what has happened to them since. When you perform a "Back out...", you are attempting to undo the changes you made at a specific point in time, while maintaining the changes that have occurred since.
예를 들어서 a, b, c, d 파일이 있다고 생각을 해보겠다. change list 1234는 한달 전에 생성되었다. 1234는 a, b 두 개의 파일 수정 내역을 가지고 있다. 1234이후에는 a, b, c, d모두 여러번 수정되었다고 가정한다.
이때, rollback을 CL 1234로 하게 되면 a, b, c, d 모두 cl 1234가 생성된 시점으로 바뀌게 된다.
반면 backout을 하게 되면 c, d는 현재의 상태 그대로 변하지 않고, CL 1234당시 수정된 a, b만 CL 1234를 생성하기 바로 이전의 상태로 돌려놓게 된다.