Bazaar

Bazaar

 




Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

Differences between revisions 5 and 6
Revision 5 as of 2006-02-02 07:58:13
Size: 820
Comment:
Revision 6 as of 2006-02-04 10:11:24
Size: 596
Comment: Definition of Branch.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
In the simplist of terms, a branch is the place that [:Revision:revision]s go to when [:Commit:commit] is run. The revisions stored in a branch are ordered according to their introduction. In the simplist of terms, a branch is the information stored along with a [:WorkingTree:working tree] that gives you access to revision control. One of the most important pieces of a branch is the record of all of the previous [:Revision:revisions] that the working tree has ever had.
Line 5: Line 5:
Branches may or may not come with a [:WorkingTree:working tree]. [:Checkout:Checkout]s and [:StandaloneBranch:Standalone branches] both provide you with working tree to hack on your code with. Technically a checkout is not a branch because it does not contain all of the ordered revisions that make a branch a branch.

Another type of branch is a [:RepositoryBranch:Repository branch]. These types of branches are tucked away inside of a repository and should not be hacked on directly. Instead, either branch from them, or make a checkout for them that you can hack.
Sometimes a branch, named a [:StandaloneBranch:standalone branch] will directly store its own [:Revision:revisions]. At other times, such as when a branch is a [:Checkout:checkout] or is a part of a [:Repository:repository], the revisions elsewhere.

NOTE: checkouts and repositories do not exist yet

In the simplist of terms, a branch is the information stored along with a [:WorkingTree:working tree] that gives you access to revision control. One of the most important pieces of a branch is the record of all of the previous [:Revision:revisions] that the working tree has ever had.

Sometimes a branch, named a [:StandaloneBranch:standalone branch] will directly store its own [:Revision:revisions]. At other times, such as when a branch is a [:Checkout:checkout] or is a part of a [:Repository:repository], the revisions elsewhere.