Revsets are a wonderful feature, and it's something I wish git had. Just being able to say I want to see what has changed between this branch head and its latest common ancestor with trunk is an incredibly simple and useful thing to be able to do.
git diff HEAD $(git merge-base HEAD master)
work?[1]: https://stackoverflow.com/questions/1549146/find-common-ance...
Mercurial's API (i.e. the CLI) makes a point of being usable with powershell and cmd.exe, which I think some Windows users appreciate.
Diff would be `hg diff -r 'ancestor(default, experiment)' -r experiment`
Want to list commits in experiment? Just change diff to log. Generate patch file with all commits? Change it to export.
git diff master...experiment
(note there's three periods)I'm kind of confused because gitrevisions(7) says the triple dot is symmetric difference, but exchanging master and experiment does not produce the same output from diff.