Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

Stacked Branch

A stacked branch is a branch whose history is stored in another branch.

When a branch A is stacked over branch B, branch A contains only a little part of the history of B, so A is smaller and requires less data to be copied from the repository. Once A has been checked-out, it can be used as a normal branch for many operations like bzr commit or bzr diff. On the other hand, certain operations on branch A, like a full bzr log, require some data not present in A: that data will be retrieved from the underlying branch B.

See also