问题
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?
回答1:
Perhaps hg summary --remote?
回答2:
To compare local and remote repositories follow these steps:
- go to local repo folder (use cd path_to_local_repo)
- run "hg outgoing -p path_to_remote_repo" (without quotes)
See GenerateDiffBetweenRepositories
来源:https://stackoverflow.com/questions/6877748/mercurial-compare-local-and-remote-repositories