Skip to content

Instantly share code, notes, and snippets.

@paulrouget
Created June 28, 2012 10:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulrouget/3010379 to your computer and use it in GitHub Desktop.
Save paulrouget/3010379 to your computer and use it in GitHub Desktop.
# Get a list of all the bugs you fixed:
hg log -u your@email.com --template '{date|isodate}: {desc}\n'
# it doesn't filter out the merges, backouts, etc.
# Add this to your hgrc:
[alias]
mybugs = log -u your@email.com --template '{date|isodate}: {desc}\n'
hg mybugs
# Filter by date:
hg mybugs --date "2012-06-18 to 2012-06-28"
hg mybugs --date "-7" #bugs from last week
# update your hgrc:
[alias]
mybugs = log -u your@email.com --template '{date|isodate}: {desc}\n'
lastweek = mybugs --date "-7"
hg lastweek
# To filter out your queue:
hg lastweek -r qparent:0
# Stat:
hg lastweek --stat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment