/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: John Arbash Meinel
  • Date: 2007-05-31 20:29:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2499.
  • Revision ID: john@arbash-meinel.com-20070531202904-34h7ygudo7qq9ha1
Update the code so that symlinks aren't cached at incorrect times
and fix the tests so that they don't assume files and symlinks
get cached even when the timestamp doesn't declare them 'safe'.

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