Unexpected behavor in branch and push...

James Blackwell jblack at merconline.com
Tue Nov 15 23:45:14 GMT 2005


On Tue, Nov 15, 2005 at 11:05:18AM +0100, Erik Bågfors wrote:
> I'm suprised to find that "bzr branch branchname sftp://host/path"
> doesn't work. Instead I can, in "branchname" run "bzr push
> sftp://host/path".

bzr branch not handling sftp sounds like a bug to me. 

> I was expecting push to only be able to push to an already existing branch.

What sort of problems do you expect with push being able to create a new
branch?


> The same actually happens locally.  If I do "bzr push ../newbranch"
> that works.  But if I do "bzr pull ../oldbranch" I get a
> bzrlib.errors.NotBranchError back.
> 
> I think that "bzr push" should work like "bzr pull" and "bzr branch"
> should work with remote storage.

I hear you. I have an alternative opinion myself. 





More information about the bazaar mailing list