--- hgbuildbot.py.orig	2008-02-08 13:41:04.000000000 -0800
+++ hgbuildbot.py	2008-02-08 13:45:40.000000000 -0800
@@ -84,6 +84,9 @@
             # send changeset
             n = repo.changelog.node(rev)
             changeset=repo.changelog.extract(repo.changelog.revision(n))
+            files =changeset[3]
+            if not files:
+                files = ['merge']
             change = {
                 'master': master,
                 # note: this is more likely to be a full email address, which
@@ -93,7 +96,7 @@
                 'username': changeset[1],
                 'revision': hex(n),
                 'comments': changeset[4],
-                'files': changeset[3],
+                'files': files,
                 'branch': branch
             }
             d.addCallback(_send, change)

