anduril build -u should not change the bookmark by default

Issue #31 resolved
Kristian Ovaska created an issue

anduril build -u changes to stable even if the dev branch was active. By default it should stay in the current branch.

Comments (9)

  1. Kristian Ovaska reporter

    It's getting a bit complicated with the branches and bookmarks. Not sure if we should encapsulate this much hg functionality.

    Wouldn't plain hg pull -u be enough to remain in active branch/bookmark? Then you don't need to find our the current bookmark.

    In fact, I'm not sure why anduril build should switch branches at all. That's not a "building" action. anduril install could be used for switching?

  2. Ville Rantanen

    working with bookmarks pull -u is not enough. it changes to a default bookmark named 'tip'. we can change to using branches, it makes it easier for the 'end user' to update, but then the developer needs to spend more time merging changes to the stable branch. bookmarks make this more simple, because it just earmarks a certain revision with a name. if you still think branches are the way to go, we can just create the branch and remove bookmarks.

  3. Kristian Ovaska reporter

    Let's go with branches. Merging is two commands if there are no merge conflicts. We can name the branch "stable" (without "anduril2").

    So,

    • anduril install [--dev|--stable]
    • anduril build -u (no --dev|--stable)

    Look good?

  4. Log in to comment