Is there a way to see if there are updates from the central Mercurial repostory before pulling them?

I use Fabric to deploy my Python application from my local machine. I would like to hit our central Mercurial repository (hosted on BitBucket.org) to find out if my local repository is at the same turn as the tooltip.

Is there a command that I can call to find out if there are updates available from the repository without pulling them? If there are updates, I would like to stop this process so that I can manually review everything before I delete these changes or continue the deployment.

+4
source share
2 answers
$ hg help incoming hg incoming [-p] [-n] [-M] [-f] [-r REV]... [--bundle FILENAME] [SOURCE] aliases: in show new changesets found in source 
+9
source

In addition, for completeness, you can use a GUI tool, for example TortoiseHg, which has the same functionality, but visually visualizes incoming revisions, for example:

Tortoisehg

+3
source

Source: https://habr.com/ru/post/1338327/


All Articles