D5098: notify: add some b prefixes

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Oct 14 06:14:11 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc7a363ca04b9: notify: add some b prefixes (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5098?vs=12114&id=12117

REVISION DETAIL
  https://phab.mercurial-scm.org/D5098

AFFECTED FILES
  hgext/notify.py

CHANGE DETAILS

diff --git a/hgext/notify.py b/hgext/notify.py
--- a/hgext/notify.py
+++ b/hgext/notify.py
@@ -226,7 +226,7 @@
 )
 
 # template for single changeset can include email headers.
-single_template = '''
+single_template = b'''
 Subject: changeset in {webroot}: {desc|firstline|strip}
 From: {author}
 
@@ -239,7 +239,7 @@
 # template for multiple changesets should not contain email headers,
 # because only first set of headers will be used and result will look
 # strange.
-multiple_template = '''
+multiple_template = b'''
 changeset {node|short} in {root}
 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
 summary: {desc|firstline}



To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list