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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:04:16+00:00 2026-05-30T08:04:16+00:00

In mercurial 2.1, the pull and incoming commands now have return code 1 when

  • 0

In mercurial 2.1, the pull and incoming commands now have return code 1 when there are no changes. So is there now an alternative command with which I can on the command line do something like the next?

hg pull && echo "No changes, carry on."

Case in point: checkoutmanager now complains that something went wrong when updating a mercurial checkout, when in reality there were simply no changes: https://bitbucket.org/reinout/checkoutmanager/issue/17

See the mercurial 2.1 release notes, that mention this for pull (but not for incoming).
https://www.mercurial-scm.org/wiki/UpgradeNotes#A2.1:_phases.2C_various_minor_changes

  • 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-30T08:04:18+00:00Added an answer on May 30, 2026 at 8:04 am

    That return code change will be reverted for the next minor release.

    See: https://www.mercurial-scm.org/pipermail/mercurial-devel/2012-February/037986.html

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

Sidebar

Related Questions

I've forked a Mercurial repository, and now I want to pull the changes from
I have a local mercurial repository with some site-specific changes in it. What I
Using Mercurial, say if I do an hg pull and hg up and now
I've a mercurial repository to which I push my changes with eclipses MercurialEclipse plugin,
I have successfully installed mercurial on media temple grid server. But I can not
I have a file in mercurial that I want dev machines to pull the
I have a central Mercurial repository, which configured to use HTTPS and requires authentication
I have a mercurial repository which has several projects (from an IntelliJ IDEA sense)
does Mercurial have an HTTP protocol we could browse files/folders/branches instead of clone/pull changesets?
I use hg command to update a project from repository (mercurial repository). hg pull

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.