/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to notes/roundtripping.txt

  • Committer: Robert Collins
  • Date: 2007-02-06 02:33:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2274.
  • Revision ID: robertc@robertcollins.net-20070206023342-hv5o5qh6pdktiwbc
New branch hooks: post_push, post_pull, post_commit, post_uncommit. These
complement the set_rh hook by allowing different actions, and awareness of
the prior state of the branch, for operations where this matters.

Fix the inability to do a bzr pull --overwrite of a heavyweight checkout.

Add branch implementation tests for uncommit and commit.

(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Bzr revision metadata that doesn't exist in git:
2
 
 
3
 
 - revision ids
4
 
  * one-on-one mapping to git-sha's and revision properties
5
 
 - file ids
6
 
  * git-sha+path -> fileid mapping
7
 
 
8
 
"bzr" git branch with bzr-specific metadata:
9
 
 
10
 
 * under refs/remotes/ to hide it from the user
11
 
 * Tree object with several children:
12
 
  * ":revisions": single object with mappings from git sha to (bzr revid, revprops, file id mapping object)
13
 
  * "bzr revision id": single object with mappings from git sha to bzr file id, revision id
14
 
 
15
 
.bzr needs extra git metadata:
16
 
 
17
 
(for round-tripped revisions only)
18
 
 * global map from git sha's to bzr revision ids
19
 
  + generated by bzr-git (slow) when not present
20
 
 * per bzr-revision map from git sha to bzr file id, revision id
21