bzr serve and access control?

Andrew Bennetts andrew.bennetts at canonical.com
Thu Feb 4 00:56:30 GMT 2010


Ben Finney wrote:
> 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.

That's still how it works (and there are no plans to change this, either).

-Andrew.




More information about the bazaar mailing list