Rebase with changesets in rebaseset

/!\ This page is intended for developer

This page collects situations and discussion about rebase where the rebaseset contains obsoleted changesets.

Situations

Successor is an ancestor of dest

  Z   F (F: unstable)
  |   |
  D'  D (D: replaced by D')
  |  /
  B C
  |/
  A

  F'
  |
  C'
  |
  Z 
  | 
  ~

Successor is also in a rebase set

This is probably the most interesting one.

      E
      |
  Z D D' # D: replaced by D'
  | |/
  B C
  |/
  A

      E'
      |
  D"' D" # D": replaced by D"'
    |/
    C'
   /
  Z
  |
  ~ 

    E'
    |
    D"
    |
    C'
   /
  Z
  |
  ~

Successor is in other places

      E
      |
Z D'  D # D: replaced by D'
 \|  /
  B C
  |/
  A