- now includes the date-version in the .cset message

Tue, 04 Nov 2014 16:05:38 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Tue, 04 Nov 2014 16:05:38 +0200
changeset 56
9e8fb18501ce
parent 55
441a04262cb4
child 57
947ec64aa2f4

- now includes the date-version in the .cset message

cobalt.py file | annotate | diff | comparison | revisions
--- 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)

mercurial