To see the differences between local and remote repositories, run hg incoming
. Then you can decide if you want
- paste the changes anyway and create a new head on the far side (using
push -f
), - or if it is better to delete deleted changes first, merge them locally and click the merged changes button.
The latter is usually preferable, it depends on how you work with other developers. Note that if you first perform hg pull
, your local changes will not be affected, so you can check for remote changes side by side with your local ones, and you can still decide not to merge and do hg push -f
anyway.
source share