backout 하고자 하는 revision이 40 ~ 49 구간일 경우.
주의. conflict 상황이 발생할 가능성이 농후하므로 merge 할 마음의 준비를 할 것.
// backout
hg update 49
hg revert -r 39 -a
hg commit -m "Backout revisions 40 ~ 49" // 이 커밋은 안해도 상관없음
// merge
hg update tip
hg commit -m "Merge backout changeset"
hg update 49
hg revert -r 39 -a
hg commit -m "Backout revisions 40 ~ 49" // 이 커밋은 안해도 상관없음
// merge
hg update tip
hg commit -m "Merge backout changeset"
'버전관리' 카테고리의 다른 글
[Mercurial] http 인증 for Linux (nginx, proxy, authorization) (0) | 2012.09.12 |
---|---|
[Mercurial] http 인증 for Windows (nginx, proxy, authorization) (0) | 2012.01.04 |
[SVN] SubVersion 에서 특정 리비전으로 Backout 하는 법 (0) | 2011.11.14 |
[Mercurial] pretxncommit hook (0) | 2011.09.28 |
Windows7 에서 TortoiseSVN, TortoiseHg 사용할 때 update,commit,merge 시 에러 [Windows Search's Indexing] (0) | 2011.06.13 |