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 3997850
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:27:09+00:00 2026-05-20T07:27:09+00:00

Where I work, we work (mostly) in pairs. We have seen the need for

  • 0

Where I work, we work (mostly) in pairs. We have seen the need for version control, and we will be using bazaar as our distributed version control system, due to its apparent flexibility.

After some experimentation, we have agreed that in order to set up a project, we should use the following steps:

On Server

  1. bzr init (initializes the project)
  2. bzr add (tells bzr to track all files in current directory, so please make sure you do not have unnecessary files in your project skeleton before you run this command)
  3. bzr commit -m “initial commit” (commits the added files to bzr for version control)

On Development Machine

  1. On your local machine, do a bzr branch project_dir

Daily routine

We are currently trying to establish a workflow that will work for us. This is what we have agreed to do daily:

  1. Pull down latest changes from pull_path
  2. Code and commit. NB. Your commits will be saved on your local machine.
  3. See step 1.
  4. Push your changes to push_path (NB. push_path = pull_path)
  5. If there is any conflict:
    • Try bzr resolve first.
    • If that fails, get your partner and do a manual resolve (open file.OTHER, file.BASE and file.THIS and make relevant changes).
    • Commit your changes (bzr commit)
    • Push again (bzr push)
    • Repeat the above sub-points (#5) until all conflicts are resolved.

In terms of the workflow, is this the right way to do version control with bazaar? We have encountered problems where our commit comments ‘change ownership’ everytime the other team member pushes changes to the server. I’m pretty sure this is not how it’s supposed to work, but it may also be due to certain options selected during the project setup phase.

As the VCS evangelist here, I am working on a guide to be used by the team, and particularly by new people as the team grows, and it would be great to have a ‘proper’ set of steps to follow in getting work done. Your contributions in establishing a nice and simple step-by-step flow to get the best out of bzr would be greatly appreciated. Please add your contributions here.

Thank you all in advance 🙂

  • 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-20T07:27:09+00:00Added an answer on May 20, 2026 at 7:27 am

    What operating system(s) do you run on the server and development machines? And file systems? Windows file systems’ permissions and sometimes the owner / group sometimes differ from the same files on a unix file system. That might be the first stumbling block.

    Bazaar workflow:

    Run a main tree on the repo server, and do a checkout locally:

    bzr checkout sftp://path/to/repo/project /var/source/project
    

    Branch the checkout locally / to your dev environment:

    bzr branch sftp://path/to/repo /var/www/project
    

    Don’t work on the checkout, only work on the dev branch. Work and commit there, using the various bzr commands.

    Once a work module / bug fix / task is finished, merge (not push) into the main repo:

    //In /var/source/project
    bzr merge /var/www/project
    //Resolve any conflicts
    bzr resolve
    //Commit the merge
    bzr commit -m "Work module | task | bug fixed"
    

    Because /var/source/project is a checkout, the repo on the repo server will be updated automatically. This enables two or more developers to work on the same project concurrently, without needing to push and pull the whole time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Mostly due to the relative URI feature/problem in silverlight, I'm considering moving a Silverlight
Why does this not work? What I am trying to do: I need a
I have a third party jar which is necessary for our project. It is
At work, I am trying to install Matlab Distributed Computing Server R2011a on a
I need to determine if user has already visited a page, for tracking unique
I was going to try using JDBC and an sqlite driver to save information
I only have one managed object context. I have modified the managed object store
I am trying to setup a repository at my work for all the code
Building a django app with some mostly static pages at the front of the
I know that daemons run in the background mostly i.e. they require very less

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.