--- a/plugin.py Wed Oct 19 17:10:10 2011 -0500
+++ b/plugin.py Wed May 01 16:13:25 2013 -0500
return ['No result found.']
lines = [x for x in out.strip().splitlines() if x]
- rev, date, user, files = lines[:4]
+ node, date, user, files = lines[:4]
- rev = ircutils.bold(rev)
+ node = ircutils.bold(node)
user = ircutils.mircColor(user, fg='green')
- lines = ['%s %s %s' % (rev, user, date)] + lines
+ lines = ['%s %s %s' % (node, user, date)] + lines
+ baseurl = self.hg.run("-R %s paths default" % repo)
+ url = "%s/rev/%s" % (baseurl.strip("\n/"), rev)
+ return lines[:2] + [url]
def crew(self, irc, msg, args, rev):
"gets the changelog message for the given revision of the crew repository"