dvc

bzr-push doesn't show the default target branch when it asks where you want to push to

Bug #349070 reported by Samuel Bronson on 2009-03-26
2
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned
dvc
Undecided
Samuel Bronson

Bug Description

I'm not sure how to get at the default target branch from a non-python script, though.

Tags: bzr Edit Tag help

Related branches

Samuel Bronson (naesten) wrote :

I guess we could use the output of "bzr info"...

Vincent Ladeuil (vila) wrote :

What is your use case ?

There is no default branch set *before* the first push, so you should do:

   bzr push <target>

You don't have to specify it *after* the first push, you can just do:

   bzr push

You can override it at any time:

  bzr push --remember <target>

From a non-python script, bzr info is the way to go.

Changed in bzr:
status: New → Incomplete

On Thu, Mar 26, 2009 at 1:47 PM, Vincent Ladeuil <email address hidden> wrote:
> What is your use case ?

DVC, an Emacs frontend for several distributed version control systems (including bzr, of course). I'd like to see the default push target in the prompt elicited by the M-x bzr-push command.

> From a non-python script, bzr info is the way to go.

What happens if there are funny characters in the URL? Is it safe to just grab whatever comes after the colon on the appropriate line? What are the chances of the wording before the colon changing in future versions?

Robert Collins (lifeless) wrote :

On Fri, 2009-03-27 at 00:44 +0000, Samuel Bronson wrote:
> On Thu, Mar 26, 2009 at 1:47 PM, Vincent Ladeuil <email address hidden> wrote:
> > What is your use case ?
> > From a non-python script, bzr info is the way to go.
>
> What happens if there are funny characters in the URL?
Then its not a URL. See std66.

-Rob

Samuel Bronson (naesten) wrote :

Apparantly, the bzr dvc should just parse the output of bzr info, which they promise won't have any funny characters in it.

Changed in bzr:
status: Incomplete → Invalid
Changed in dvc:
assignee: nobody → Samuel Bronson (naesten)
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers