/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-03-25 08:59:56 UTC
  • mto: (2376.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2401.
  • Revision ID: robertc@robertcollins.net-20070325085956-my8jv7cifqzyltyz
New SmartServer hooks facility. There are two initial hooks documented
in bzrlib.transport.smart.SmartServerHooks. The two initial hooks allow
plugins to execute code upon server startup and shutdown.
(Robert Collins).

SmartServer in standalone mode will now close its listening socket
when it stops, rather than waiting for garbage collection. This primarily
fixes test suite hangs when a test tries to connect to a shutdown server.
It may also help improve behaviour when dealing with a server running
on a specific port (rather than dynamically assigned ports).
(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