[RFC] init-repo take --tree option

Erik Bågfors zindar at gmail.com
Mon Mar 27 20:03:20 BST 2006


2006/3/27, Aaron Bentley <aaron.bentley at utoronto.ca>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Erik Bågfors wrote:
> > I propose the following..
> >
> > Can be merged from http://erik.bagfors.nu/bzr/bzr.init-repo-tree
>
> I think that it's reasonable to make this optional, though I've got
> stuff in bzrtools that I think is a far better alternative to doing
> this.  I'll post about that soon.

Ok, I'd be interested in that....

> > +                     Option('tree',
> > +                             help='Allows branches in repository to have'
> > +                             ' a working tree')]
>
> I think using "tree" (singular) isn't intuitive.  I'd prefer
> "--with-trees", but I'd go along with "--trees".

I'm open for whatever name people want. It's the functinality I want.
I'm fine with --with-trees if that's what people want.

> > +        cdir = bzrlib.bzrdir.BzrDir.open('a/c')
> > +        cdir.open_branch()
> > +        self.assertRaises(errors.NoRepositoryPresent, cdir.open_repository)
> > +        self.assert_(os.path.exists('a/c/hello'))
>
> I think this should include:
>            cdir.open_workingtree()

Right, does now.

> +1 if those are addressed.  (i.e. by changing or by convincing me I'm wrong)

I'll wait for other peoples opinion on --with-trees

/Erik




More information about the bazaar mailing list