Mon, 01 Jun 2015 12:46:23 +0300
Use [code] for diffstats in tracker messages
hgpoll.py | file | annotate | diff | comparison | revisions |
--- a/hgpoll.py Sun May 17 20:42:32 2015 +0300 +++ b/hgpoll.py Mon Jun 01 12:46:23 2015 +0300 @@ -240,8 +240,8 @@ commit_diffstat = repo.hg_command ('diff', '--change', cset, '--stat') if len(commit_diffstat) > 0: - # commit_diffstat = 'Changes in files:\n[code]\n' + commit_diffstat + '\n[/code]' - commit_diffstat = 'Changes in files:\n' + bbcodify(commit_diffstat) + commit_diffstat = 'Changes in files:\n[code]\n' + commit_diffstat + '\n[/code]' + # commit_diffstat = 'Changes in files:\n' + bbcodify(commit_diffstat) else: commit_diffstat = 'No changes in files.'