Bazaar

Bazaar

 




Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

Differences between revisions 6 and 7
Revision 6 as of 2007-10-11 06:17:10
Size: 785
Editor: KeirMierle
Comment:
Revision 7 as of 2007-10-11 14:15:44
Size: 909
Editor: KeirMierle
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
A revision is roughly the same as a git commit object.
Line 17: Line 19:
An inventory is roughly the same as a Mercurial (hg) manifest.

A brief review of the Bazaar SCM model

Repository

A repository contains revisions (what is created on each commit) and their relations.

  • A REVISION contains:

    • Revision ID (revid). Typically these look like john@foo.com-2007090201-fab1028392

    • List of parents (revid's)
    • List of properties (date, author??)
    • Commit message

A revision is roughly the same as a git commit object.

  • A INVENTORY contains:

    • Revision ID (revid). For a given commit, this revid matches with the corresponding revision.
    • List of (fileid, diff). The diff is the changes in file for fileid from X.parents[0] to X.

An inventory is roughly the same as a Mercurial (hg) manifest.

extraneous information to be integrated later

Files have their own revision graph. The nodes in a file's revision graph are all nodes in the revision graph. A file is ???