Issue #15 new

up command for bzr only works for checkouts, not for branches

Jendrik Seipp
created an issue

Checkoutmanager should do "bzr pull" or "bzr merge" for branches instead of "bzr update".

Alternatively you should state that checkoutmanager only works for checkouts (Maybe I could've guessed by the name ;)

Comments (3)

  1. Reinout van Rees repo owner

    Well, in the way that checkoutmanager initially does the checkout, a "bzr update" should be enough.

    The problem as I saw it is that bzr allows many different ways to set up the repos and checkouts regarding workflow.

    Does "bzr pull" work in all cases? Or is bzr update enough? Do I need to document something more?

  2. Jendrik Seipp reporter

    (Reply via jend...@web.de):

    Well, in the way that checkoutmanager initially does the checkout, a "bzr update" should be enough.

    That's true.

    The problem as I saw it is that bzr allows many different ways to set up the repos and checkouts regarding workflow. Does "bzr pull" work in all cases? Or is bzr update enough?

    Some small tests indicate that bzr pull works for checkouts as well, but you should double-check that. "bzr update" naturally only works for checkouts.

  3. Maurits van Rees

    I see that bzr pull does not work in a checkout:

    bzr: ERROR: No pull location known or specified.
    

    I have changed the checkoutmanager bzr up command to bzr pull in my fork, https://bitbucket.org/maurits/checkoutmanager, but when I wanted to create a bitbucket pull request I saw this issue, which makes that pull request a bad idea.

    We may want to change the checkoutmanager bzr checkout command into bzr branch, but that does not change existing checkouts.

    I mostly do the first checkout/branch manually instead of letting checkoutmanager do this. In the case of bzr I apparently always do a bzr branch.

    Some way of doing both a bzr up and bzr pull while not spouting error messages when it is a checkout would be good. Or maybe some way to tell the difference between a checkout and a branch and only doing a pull when it is a branch.

  4. Log in to comment