====
 HG 
====
| 

about
-----
| 

:author:  Wijnand 'tehmaze' Modderman - http://tehmaze.com
:contact: IRCNET/#dunkbots
:website: http://plugins.gozerbot.org
:license:  BSD
 
| 

description
-----------
| 

hg related information

| 

commands
--------
| 


1) hg-annotate (hg-blame)

    annotate the changes of a file

    ::

        <user> !hg-annotate gozerbot/bot.py
        <output> gozerbot/bot.py is changed by: bart

2) hg-changes

    show changes in the current release (tip) or between two releases

    ::

        <user> !hg-changes tip
        <output> tip - tip: mod doc/plugins/SNARF, mod gozerplugs/plugs/rss.py, mod gozerplugs/plugs/wikipedia.py

    ::

        <user> !hg-changes 666 tip
        <output> 666 - tip: add .hgignore, add .hgsigs, add .hgtags, mod README, add bin/gozerbot, add bin/gozerbot-start,
        <output>  add bin/gozerbot-stop, add bin/gozerinit, add bin/gozerupgrade06, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, add doc/BASIC, add doc/COLLECTIVE,
        <output>  add doc/FAQ, add doc/FLEET, mod doc/FLOW, add doc/JABBER, add doc/LICENSE, mod doc/OPER, mod doc/PLUGINS,
        <output>  mod doc/PROGRAMPLUGIN, add doc/RELAY, mod doc/RSS, mod doc/THNX, mod doc/TOURDECODE, add doc/UDP, mod
        <output>  doc/UPGRADE, mod doc/USER, mod doc/WEBSERVER, add doc/changelog, add doc/plugins/CALC, add doc/plugins/JOB,
        <output>  add doc/plugins/PIT, add doc/plugins/SNARF, add doc/plugins/TRANSLATE, add doc/plugins/YAHOO, mod ev/null,
        <output>  mod files/dcctest.py, mod files/dotest.py, add files/gendoc.py, add files/gozerbot.cron, add files/makechangelog.py,
        <output>  add files/permoverload, add files/pickletodb.py, mod ev/null, add files/postgres_db, mod files/qtest.py,
        <output>  add files/sqlite_db, add files/webtest.py, add freebsd/py-gozerbot.shar, mod gozerbot/__init__.py, mod
        <output>  gozerbot/aliases.py, mod gozerbot/backup.py, mod gozerbot/bot.py, mod gozerbot/callbacks.py, mod gozerbot/channels.py,
        <output>  mod gozerbot/commands.py, mod gozerbot/config.py, mod gozerbot/datadir.py, mod gozerbot/db.py, mod gozerbot/dbusers.py,
        <output>  mod gozerbot/dol.py, mod gozerbot/eventhandler.py, mod gozerbot/examples.py, add gozerbot/exit.py, mod
        <output>  gozerbot/fleet.py, mod gozerbot/generic.py, mod gozerbot/ignore.py, mod gozerbot/irc.py, mod gozerbot/ircevent.py,
        <output>  mod gozerbot/jabberbot.py, mod gozerbot/jabbermsg.py, add gozerbot/jabberpresence.py, mod gozerbot/less.py,
        <output>  mod gozerbot/limiter.py, mod gozerbot/limlist.py, add gozerbot/lockmanager.py, mod gozerbot/monitor.py,
        <output>  mod gozerbot/myimport.py, mod gozerbot/nextid.py, mod gozerbot/partyline.py, mod gozerbot/pdod.py, mod
        <output>  gozerbot/pdol.py, add gozerbot/periodical.py, mod gozerbot/persist.py, add gozerbot/persistconfig.py,
        <output>  add gozerbot/pgp.py, mod gozerbot/plugins.py, mod gozerbot/redispatcher.py, mod gozerbot/rsslist.py,
        <output>  mod gozerbot/thr.py, mod gozerbot/users.py, mod gozerbot/wait.py, add gozerplugs/__init__.py, add gozerplugs/dbplugs/__init__.py,
        <output>  add gozerplugs/dbplugs/birthday.py, add gozerplugs/dbplugs/infoitem.py, add gozerplugs/dbplugs/karma.py,
        <output>  add gozerplugs/dbplugs/lists.py, add gozerplugs/dbplugs/quote.py, add gozerplugs/dbplugs/todo.py, add
        <output>  gozerplugs/dbplugs/user.py, add gozerplugs/plugs/__init__.py, add gozerplugs/plugs/alarm.py, add gozerplugs/plugs/alert.py,
        <output>  add gozerplugs/plugs/alias.py, add gozerplugs/plugs/autoreply.py, add gozerplugs/plugs/autovoice.py,
        <output>  add gozerplugs/plugs/away.py, add gozerplugs/plugs/birthday.py, add gozerplugs/plugs/botsnack.py, add
        <output>  gozerplugs/plugs/chanperm.py, add gozerplugs/plugs/choice.py, add gozerplugs/plugs/code.py, add gozerplugs/plugs/collective.py,
        <output>  add gozerplugs/plugs/convert.py, add gozerplugs/plugs/core.py, add gozerplugs/plugs/count.py, add gozerplugs/plugs/country.py,
        <output>  add gozerplugs/plugs/dig.py, add gozerplugs/plugs/dns.py, add gozerplugs/plugs/event.py, add gozerplugs/plugs/fleet.py,
        <output>  add gozerplugs/plugs/googletalk.py, add gozerplugs/plugs/greeting.py, add gozerplugs/plugs/grep.py,
        <output>  add gozerplugs/plugs/hello.py, add gozerplugs/plugs/hg.py, add gozerplugs/plugs/idle.py, add gozerplugs/plugs/ignore.py,
        <output>  add gozerplugs/plugs/infoitem.py, add gozerplugs/plugs/install.py, add gozerplugs/plugs/irc.py, add
        <output>  gozerplugs/plugs/jabber.py, add gozerplugs/plugs/jcoll.py, add gozerplugs/plugs/job.py, add gozerplugs/plugs/karma.py,
        <output>  add gozerplugs/plugs/lag.py, add gozerplugs/plugs/limiter.py, add gozerplugs/plugs/links.py, add gozerplugs/plugs/lists.py,
        <output>  add gozerplugs/plugs/log.py, add gozerplugs/plugs/mail.py, add gozerplugs/plugs/mailexceptions.py, add
        <output>  gozerplugs/plugs/markov.py, add gozerplugs/plugs/misc.py, add gozerplugs/plugs/mono.py, add gozerplugs/plugs/nickcapture.py,
        <output>  add gozerplugs/plugs/nickserv.py, add gozerplugs/plugs/not.py, add gozerplugs/plugs/ops.py, add gozerplugs/plugs/pgp.py,
        <output>  add gozerplugs/plugs/popcon.py, add gozerplugs/plugs/probe.py, add gozerplugs/plugs/quote.py, add gozerplugs/plugs/relay.py,
        <output>  add gozerplugs/plugs/reload.py, add gozerplugs/plugs/remind.py, add gozerplugs/plugs/rest.py, add gozerplugs/plugs/reverse.py,
        <output>  add gozerplugs/plugs/rss.py, add gozerplugs/plugs/search.py, add gozerplugs/plugs/shop.py, add gozerplugs/plugs/size.py,
        <output>  add gozerplugs/plugs/snarf.py, add gozerplugs/plugs/tail.py, add gozerplugs/plugs/tell.py, add gozerplugs/plugs/timer.py,
        <output>  add gozerplugs/plugs/tinyurl.py, add gozerplugs/plugs/to.py, add gozerplugs/plugs/todo.py, add gozerplugs/plugs/topic.py,
        <output>  add gozerplugs/plugs/udp.py, add gozerplugs/plugs/umode.py, add gozerplugs/plugs/update.py, add gozerplugs/plugs/upgrade.py,
        <output>  add gozerplugs/plugs/user.py, add gozerplugs/plugs/webserver.py, add gozerplugs/plugs/wikipedia.py,
        <output>  add gozerplugs/web/__init__.py, add gozerplugs/web/dispatch.py, add gozerplugs/web/infoitems.py, add
        <output>  gozerplugs/web/karma.py, add gozerplugs/web/nodes.py, add gozerplugs/web/ping.py, add gozerplugs/web/quotes.py,
        <output>  add man/gozerbot.1, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod
        <output>  ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod runbot, add setup.py, mod ev/null,
        <output>  add tables/udplog, mod tests/test_alarm.py, mod tests/test_alert.py, add tests/test_alias.py, add tests/test_autovoice.py,
        <output>  add tests/test_away.py, add tests/test_birthday.py, add tests/test_botsnack.py, add tests/test_chanperm.py,
        <output>  add tests/test_choice.py, add tests/test_code.py, add tests/test_convert.py, add tests/test_core.py,
        <output>  add tests/test_count.py, add tests/test_country.py, add tests/test_dig.py, add tests/test_dns.py, add
        <output>  tests/test_event.py, add tests/test_fleet.py, add tests/test_greeting.py, add tests/test_grep.py, add
        <output>  tests/test_hello.py, add tests/test_hg.py, add tests/test_idle.py, add tests/test_ignore.py, add tests/test_infoitem.py,
        <output>  mod tests/test_ipv6.py, add tests/test_persistconfig.py, mod tests/test_split.py, add tests/test_user.py,
        <output>  mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null, mod ev/null

3) hg-committers (committers)

    shows hg committer statistics

    ::

        <user> !hg-committers [short]
        <output> top committers: bart@bart-desktop: 667, bart@localhost.my.domain: 440, bart@dunker.lan: 223, bart@dunker:
        <output>  104, Bart Thate <bart@r8.cg.nu>: 44, wijnand@freecode.nl: 41, sqrbass@localhost.nl.eu.org: 26, sqrbass@complex.shrine.net:
        <output>  17, sqrbass@ryoko: 6, sqrbass@bus.idca.nl: 4, sqrbass@r8.cg.nu: 3, sqrbass@localhost: 2, bart@pyjbot.cg.nu:
        <output>  2, Bart Thae  <bart@r8.cg.nu>: 2, wijnand@dasbier.spoofed.nl: 1, root@complex.shrine.net: 1, bart@r8.cg.nu:
        <output>  1

4) hg-log

    show the changelog for the repo, or for a file

    ::

        <user> !hg-log gozerbot/plugs/hg.py
        <output> file not found
