[RFC] BzrDir class

Robert Collins robertc at robertcollins.net
Tue Jan 31 06:19:43 GMT 2006


On Tue, 2006-01-31 at 17:16 +1100, Martin Pool wrote:
> On 31 Jan 2006, Robert Collins <robertc at robertcollins.net> wrote:
> > I mooted a MetaDir concept on irc a few days ago. Chatting with Martin
> > we managed to come up with BzrDir as a name for it.
> > 
> > The BzrDir class, and the related BzrDirFormat class will represent the
> > format that the .bzr dir is at, which aids in the split out to the
> > individually versioned repository/ branch/ and checkout/ directories. It
> > also provides a place to hook some of the quirky operations like 'make a
> > standalone branch' that combine 2 or three of those subdirs.
> > 
> > Seeking a +1 on the concept before I get tooo much done on it.
> 
> +1 from me.
> 
> I'd like to check when this will be instantiated and use.  I imagine
> callers will still be able to open a branch with `Branch(url)`.  Can
> they then get `branch.bzrdir` if they'd like to access other objects
> stored there?

Well, Branch.open(url) yes - that will be an explicit request to get the
Branch object. And yes, having Branch.bzrdir be the bzrdir object for
Branch.base makes sense to me.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060131/37d1eaf5/attachment.pgp 


More information about the bazaar mailing list