Mercurial - compare local and remote repositories?
Asked Answered
C

2

5

In Git, there is the command

git remote show <remote>

When properly configured, this will show you the status of the remote compared to your local repository, including whether there are pending changes in either. I can't find a similar command in Mercurial. Am I missing something or does it just not exist?

Castiron answered 29/7, 2011 at 19:0 Comment(0)
B
10

Perhaps hg summary --remote?

Bijection answered 29/7, 2011 at 19:3 Comment(2)
Perfect. 7 minutes til I can accept the answer. Arbitrary rule is arbitrary.Castiron
Note that this only works with a default remote. You cannot compare against a named remote.Trabue
A
0

To compare local and remote repositories follow these steps:

  1. go to local repo folder (use cd path_to_local_repo)
  2. run "hg outgoing -p path_to_remote_repo" (without quotes)

See GenerateDiffBetweenRepositories

Augmentation answered 10/8, 2019 at 8:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.