How to view diff between head of local repository and head of remote repository?
问题 Before I push to a remote repository, I want to see a consolidated diff between the head of my local repository and the head of the repository I'm pushing too. The best way I know of doing this is to hg clone the remote repository, get the revision of the head, then do a diff between my head and that revision. But this is time-consuming. Is there a quick way? 回答1: In addition to $ hg outgoing -p which I normally use, I'll like to point you to revision sets. That is a query language that you