Anton Shestakov <av6@dwimlabs.net>, Wed, 21 Nov 2018 20:35:46 +0800
plugin: drop {files} from changelog template, they weren't used anyway
--- a/plugin.py Wed Nov 21 19:24:01 2018 +0800
+++ b/plugin.py Wed Nov 21 20:35:46 2018 +0800
hghelp = wrap(hghelp, ['text'])
def _changelog(self, irc, repo, rev):
- tmpl = '{rev}:{node|short}\n{date|age}\n{author|person}\n{files}\n{desc}'
+ tmpl = '{rev}:{node|short}\n{date|age}\n{author|person}\n{desc}'
'-R', repo, 'log', '-r', rev, '-l', '1', '--template', tmpl, '-v'
return irc.reply('no changesets found')
lines = [x for x in out.strip().splitlines() if x]
- node, date, user, files = lines[:4]
+ node, date, user = lines[:3]
node = ircutils.bold(node)
user = ircutils.mircColor(user, fg='green')