【HG】 Mercurial ~ リベース / マージ 編~

  ■ EclipseでのMercurialのリベース

select source revision
□ Rebase from the selected revision
 => リベースしたい元のリビジョンからリベースする(以下の例だと「826」を指定)

□ Rebase from the base of the selected revision
 => 指定したリビジョンを遡りリベースしてくれる(以下の例だと「829」を指定)
select destination revision
□ Rebase onto the selected revision
 => リベース先のリビジョンを指定(以下の例だと「828」を指定)

  例

【リベース前】
825    826                         829
-*------*---------------------------*---- local <= 「826」「829」をMasterに移す
     |
     +--------*------------*------------- Master
             827          828
【リベース後】
-*------------*------------*------*------------*--------------- Master
825          827          828    826'(829)    829'(830)

 

  関連記事

  【分散リポジトリ】【HG】 Mercurial ~環境構築編~

https://blogs.yahoo.co.jp/dk521123/36290337.html