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
2
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
dvc
Confirmed
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

Related branches

Revision history for this message
Samuel Bronson (naesten) wrote :

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

Revision history for this message
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
Revision history for this message
Samuel Bronson (naesten) wrote : Re: [Bug 349070] Re: bzr-push doesn't show the default target branch when it asks where you want to push to

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?

Revision history for this message
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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.