[MERGE] Pass create_prefix paremeter to BzrDir.push_branch.

Jelmer Vernooij jelmer at samba.org
Tue Jun 9 04:23:18 BST 2009


Robert Collins wrote:
> On Tue, 2009-06-09 at 04:09 +0200, Jelmer Vernooij wrote:
>
>> Perhaps I should explain the problem a bit better. Right now "bzr
>> push" does the following:
>>
>> First it attempts to open the target branch. If this doesn't work
>> it attempts to create a new bzrdir inplace. If that fails because
>> of missing parent directories, it'll create them if
>> --create-prefix was specified or error out otherwise.
>>
>> Unfortunately this doesn't work for Subversion control
>> directories since they will always exist.
>
> Well, you said they always exist because they are virtual. But as I
>  recall they aren't really, rather they are created by commits to
> svn; so a not-yet-created dir should exist. Or perhaps I don't
> understand what you mean by control directories.
Controldirs always exist and can always be opened, branches do not
exist until they are created in Subversion and are created by commits.

Bazaars mechanism for create-prefix works with controldirs, bzr-svn's
needs to work with branches.

Cheers,

Jelmer




More information about the bazaar mailing list