Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 320941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:48:00+00:00 2026-05-12T08:48:00+00:00

I’m just starting out with bazaar, and I’ve found that the checkout feature is

  • 0

I’m just starting out with bazaar, and I’ve found that the checkout feature is the most useful for the way I work – namely I can c/o from a “master copy”, do some development and then commit my changes in the new directory. This then updates the “master copy”.

But what if I’m working on (eg) two projects, changing different portions of code? Say:

~/master                - master copy
bzr co master ./gui
bzr co master ./engine

So I’m doing gui-related stuff in the ./gui directory and under-the-hood stuff in ./engine. How should I commit my changes? If I commit gui first, then engine, I guess any conflicts will be flagged in engine?

Is there a way to merge gui and engine, and then do just one commit to the master copy?

To make things a little more complicated, how about if I do this:

bzr branch gui ./mouse

Now I perhaps I’ve been working on mouse, but also on gui. If I want to merge the code from gui AND mouse, and then commit to master, what is the best way to manage this? Or indeed, if I also:

bzr branch gui ./keyboard

If I’ve changed altered gui, keyboard and mouse, should I hierarchically merge – ie mouse+keyboard, then merge this with gui, then commit gui to master?

I hope it is clear what I’m trying to achieve! Thanks in advance for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:48:00+00:00Added an answer on May 12, 2026 at 8:48 am

    If you have two checkouts, any time you commit changes to one, you will first have to pull down any changes from the other one, potentially having to resolve conflicts at each step. This is generally a good idea, since it’s easier to resolve conflicts over time and make sure your code doesn’t diverge too much.

    However, it sounds like you want to have separate developers working on "gui" and "engine", or you just want to save your conflict resolution till development on both branches has completed. In this case, you should probably create them as independent branches with "bzr branch". Each branch can use local commits and not worry about conflicts with each other. Then when it comes time to merge you can do it one of 3 ways, all of which get the same end result:

    1. Merge one branch into the other, then push it up to master:

    cd gui
    bzr merge ../engine
    # manually fix any conflicts
    bzr commit
    bzr push #back up to main
    

    The downside to the above method is that your "gui" branch now has the "engine" changes in it. Which is fine if you’re going to throw away both branches once they’re pushed back into the mainline. But if you want to keep the branches longer, you can:

    2. Merge into the mainline:

    cd master
    bzr merge ../gui
    bzr commit
    bzr merge ../engine
    # manually fix conflicts
    bzr commit
    

    This has the upside that you still have "gui" and "engine" as separate branches, but you’ve had to commit one to master before you were sure that they would both work together. So you really probably want to:

    3. Create a merge branch:

    bzr branch ~/master gui-engine-merge
    cd gui-engine-merge
    bzr merge ../gui
    bzr commit
    bzr merge ../engine
    # manually fix conflicts
    bzr commit
    bzr push ~/master
    # since this branch was only for merging, you don't need it anymore:
    cd ..
    rm -r gui-engine-merge
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have just tried to save a simple *.rtf file with some websites and
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
Does anyone know how can I replace this 2 symbol below from the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.