bzr push mistake.

Colin D Bennett colin at gibibit.com
Sun Feb 22 05:15:29 GMT 2009


On Sat, 21 Feb 2009 16:01:58 -0800
Eric Berry <elberry at gmail.com> wrote:

> Hi all.
>    I was experimenting with Bazaar, and the Centralized workflow. I made a
> mistake when I pushed, which has created a "push branch", and I don't know
> how to remove it.
> 
> My central repo is hosted remotely, and I wanted to push some changes from
> my local branch to the remote one. I wanted to see if I had to put the whole
> URL into the bzr push command, or if I could just use the "parent branch"
> name.
> 
> So, I tried "bzr push parent". I saw that it created a new branch, and now
> when I do "bzr info" I see there is a "push branch" item under the related
> branches section.

Two things:

1. You can remove the “push branch” reference on your local branch by
   removing the line starting with “push_location = ”
   in .bzr/branch/branch.conf.

   I think that Bazaar should allow “bzr reconfigure” or some other
   command to add, change, or remove the push_branch, parent_location,
   public_branch, and other settings since the branch.conf file it is
   very fragile.

2. You can push to the parent branch with “bzr push :parent” ... you
   need the colon before parent.

Regards,
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090221/4e0bc459/attachment.pgp 


More information about the bazaar mailing list