Skip to content

Instantly share code, notes, and snippets.

@jpetazzo
Created May 7, 2012 23:45
Show Gist options
  • Save jpetazzo/2631478 to your computer and use it in GitHub Desktop.
Save jpetazzo/2631478 to your computer and use it in GitHub Desktop.
Useful commands with Mercurial
# List all merges to default branch
# (Technically, each time there was a merge into default, show the last
# changeset of the merged branch)
hg log --rev 'parents(merge() and branch(default)) and not branch(default)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment