Part of lp.codehosting.vfs.branchfs View In Hierarchy
This transport dispatch knows about whether a particular branch should be served read-write or read-only. It also knows how to serve .bzr control directories for products (to enable default stacking).
This is used for the rich codehosting VFS that we serve publically.
Method | __init__ | Undocumented |
Method | makeTransport | Undocumented |
Method | _makeBranchTransport | Undocumented |
Method | _makeControlTransport | Make a transport that points to a control directory. |
A control directory is a .bzr directory containing a 'control.conf' file. This is used to specify configuration for branches created underneath the directory that contains the control directory.
Parameters | default_stack_on | The default stacked-on branch URL for branches that respect this control directory. If empty, then we'll return an empty memory transport. |
Returns | A read-only MemoryTransport containing a working BzrDir,
configured to use the given default stacked-on location. |