Size: 347
Comment:
|
Size: 909
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
* '''REVISION''': ??? what is in a revision besides parents? | * 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 |
Line 9: | Line 13: |
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 == |
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 ???