bzr serve and access control?
Ben Finney
ben+bazaar at benfinney.id.au
Wed Feb 3 08:07:02 GMT 2010
Josef Wolf <jw at raven.inka.de> writes:
> So, given a branch like //host/srv/repo/a_project/branch, how exactly
> does bzr find out that it is located in the repository at
> //host/srv/repo?
By walking up the path components, looking for a repository directory:
* Is there a repository “here”, //host/srv/repo/a_project/branch/ ?
* Is there a repository in the parent, //host/srv/repo/a_project/ ?
* Is there a repository in the parent's parent, //host/srv/repo/ ?
et cetera, until it finds a repository (a hit, which terminates the
search) or reaches the root of the path (a miss, indicating the path is
not inside a repository).
At least, that's how it worked many months ago when I investigated this
feature. Trust an answer from the developers better than me on this one.
--
\ “He may look like an idiot and talk like an idiot but don't let |
`\ that fool you. He really is an idiot.” —Groucho Marx |
_o__) |
Ben Finney
More information about the bazaar
mailing list