Complete guess based on [1], but wouldn't
git diff HEAD $(git merge-base HEAD master)
work?[1]: https://stackoverflow.com/questions/1549146/find-common-ance...
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.