# HG changeset patch # User Teemu Piippo # Date 1415109938 -7200 # Node ID 9e8fb18501cef80d46ba87485a57cd4e7aeb6097 # Parent 441a04262cb4cbc6d5524b7383263f3aeaa455f8 - now includes the date-version in the .cset message diff -r 441a04262cb4 -r 9e8fb18501ce cobalt.py --- a/cobalt.py Tue Nov 04 15:59:20 2014 +0200 +++ b/cobalt.py Tue Nov 04 16:05:38 2014 +0200 @@ -1114,7 +1114,8 @@ datestring = 'on %s' % (str (date)) #fi - self.privmsg (replyto, 'changeset %s: committed by %s %s (%s)' % (node, author, datestring, diffstat)) + self.privmsg (replyto, 'changeset %s (%s): committed by %s %s (%s)' % \ + (node, date.strftime('%g%m%d-%H%M'), author, datestring, diffstat)) for line in message.split ('\n'): self.privmsg (replyto, ' ' + line)