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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:59:38+00:00 2026-05-15T18:59:38+00:00

We started using Mercurial a several weeks ago. Most developers follow this workflow: work

  • 0

We started using Mercurial a several weeks ago. Most developers follow this workflow:

  • work on a feature
  • commit -m “Worked on feature ABC”
  • pull -u
  • If branch
    • merge
    • commit -m “Merge”
    • push

Today, one of our developer suggested that we do:

  • work on a feature
  • pull -u
  • if branch
    • merge
  • commit -m “Worked on feature ABC”
  • push

That way, we have a lot less “Merge” changesets in the log.

Some of us think it’s just a matter preference. Some of us think one is better than the other. We don’t have much experience and don’t want to live the downsides of misusing the tool. So if one approach is more advisable then the other, please let me know why.

  • 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-15T18:59:38+00:00Added an answer on May 15, 2026 at 6:59 pm

    I like your original procedure more, but reasonable people can certainly disagree. I consider merging an actual piece of software development work and like having it be a first class citizen in our process.

    In your second/suggested procedure the risk is that the pull does some stuff you really don’t want and then you have a very hard time separating it from the work you’ve already done.

    For people who just can’t stand branchy history the usual preferred workflow is:

    • work on a feature
    • commit
    • pull –rebase
    • push

    where the --rebase option appears on pull after you enable the rebase extension. I’m not a fan of rebase because it’s technically rewriting history which is antithetical to how mercurial is supposed to work, but I’m in a rapidly shrinking minority on that point.

    Bottom line, if you really don’t want a branchy history use rebase — don’t update into uncommitted changes as it’s hard to undo.

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

Sidebar

Related Questions

Our team started using mercurial about a month ago and it was a rough
I started using SourceTree a few days ago to manage Mercurial repositories with my
I've started using Mercurial for my personal projects and I'm currently going through Joel's
I've started using Mercurial for version-controlling my Drupal project source files (I'm both a
I have started a Mercurial based project on google code. I have worked in
I've recently started using mercurial (it's actually my first experience with version control) but
I just started using Git alongside Mercurial to familiarize myself with Git. I use
Started using PDO prepared statements not too long ago, and, as i understand, it
I am familiar with TFS and Vault, but having just started using Mercurial I
I started using PHP a couple of months ago. For the sake of creating

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.