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

  • Home
  • SEARCH
  • 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 7623099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:37:16+00:00 2026-05-31T04:37:16+00:00

When I type hg outgoing , I get a response like this: comparing with

  • 0

When I type hg outgoing, I get a response like this:

comparing with ssh://server:1234/path/to/repo

and a delay while it communicates over the network.

Why is this network traffic necessary? Is there something fundamental about Mercurial which means it can’t remember which commits have been pushed, and which haven’t?

Is there an alternative command which can give me similar information without having to communicate over the network?

  • 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-31T04:37:17+00:00Added an answer on May 31, 2026 at 4:37 am

    As Mercurial is a distributed system, there are multiple ways for your changes to get from your local repo to the remote repo.

    For example:

    • it is possible for someone to pull changes from you and then push those changes to the remote repo
    • you could actually just copy your local repo using whatever operating system you have and Mercurial would be totally unaware of that. You could then push the changes in this copy to the remote repo.

    However, if you have Mercurial 2.1 or later you can use hg phase to determine which changesets have been pushed. Assuming you don’t use hg phase to change the status of any changesets then the changesets with a phase of draft or secret have not been pushed and those with a phase of public have. Use

    $ hg log -r "not public()"
    

    to see unpublished changesets.

    It won’t catch the two examples I gave above but it will probably be good enough if you just want to know which changesets you have not pushed.

    Look here or check hg help phases for instructions on how to work with phases.

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

Sidebar

Related Questions

Consider type like this one public interface IHaveGenericMethod { T1 Method<T1>(T1 parm); T2 Method<T1,T2>(T1
Is there a way to get the Content-Type of the response or conversely set
The type of this function is function :: Num a => ([Char],a) -> ([Char],a)
How to limit speed of outgoing response from php script? So I have a
I'd like to have some code be notified of any incoming and outgoing voice
I'm somewhat confused about the lifecycle of ManagedBeans of type request. In this example
Windows has this type of thing with TCP packets already (Hosts File), is there
what type could contain a number like 2023209999 in java? do you think that
What type of structure would I need to create charts like the following? http://www.axiis.org/examples.html
It is likely that this type of scenario is not possible as I have

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.