[MERGE] Pass create_prefix paremeter to BzrDir.push_branch.

Jelmer Vernooij jelmer at samba.org
Tue Jun 9 00:41:08 BST 2009


Robert Collins wrote:
> On Mon, 2009-06-08 at 03:46 +0200, Jelmer Vernooij wrote:
>   
>> On Mon, Jun 08, 2009 at 11:29:59AM +1000, Robert Collins wrote:
>>     
>>> On Mon, 2009-06-08 at 02:39 +0200, Jelmer Vernooij wrote:
>>>       
>>>> This patch makes cmd_push pass the create_prefix parameter to
>>>> BzrDir.push_branch(). This is required for bzr-svn to support "bzr push
>>>> --create-prefix". The regular way of detecting that a prefix doesn't
>>>> exist will not work for Subversion, since control dirs are "virtual" and
>>>> therefor always exist.
>>>>         
>>> Can't you tell via log information?
>>>       
>> I'm not sure I follow. How could I use log to tell the intent of the
>> caller of the API?
>>     
>
> I mean log of the svn virtual fs. The intent (to push) is pretty
> clear :P.
>   
I still don't follow. How should I use the virtual fs to guess that the
user wanted bzr-svn to create the prefix?

Cheers,

Jelmer



More information about the bazaar mailing list