bzr branch on none local transport.
Erik Bågfors
zindar at gmail.com
Wed Mar 22 16:07:04 GMT 2006
Hi
I think we have to look into the fact that bzr branch doesn't support
creating branches in remote locations. This means that "bzr branch
repodir/branch1 repodir/branch2" does work if repodir is local, but
not if it's remote.
I think this needs to be taken care of before 0.8 or bzr will be
harder to use than svn if you work in a centralized fashion.. (which
we will be doing lot's I think)
This is from Bug #35566 that I reported.
This means that is $repodir is local, the following works:
bzr branch $repodir/branch1 $repodir/branch2
but if it's remote it doesn't work. Instead I have to do (assuming I
have no checkout)
bzr checkout $repodir/branch1
cd branch1
bzr push $repodir/branch2
Why should I have to work differently when it's local and remote?
I understand that branching from a remote location to another remote
location is slow, but that doesn't mean it shouldn't be doable.
Even if I have a checkout for branch1, I think it's more logical to use
"bzr branch checkout $repodir/branch2", than to use bzr push.
bzr push is logical if I want a copy of THIS branch on a remote
location, not if I want to create a new branch.
People working with svn for example, would expect to do
svn copy checkout svn://foo/prod/branch
svn checkout svn://foo/prod/branch
In bzr, that would translate to (but this doesn't work)
bzr branch checkout sftp://foo/prod/branch
bzr checkout sftp://foo/prod/branch
Regards,
Erik
More information about the bazaar
mailing list