# HG changeset patch # User Thomas Arendsen Hein # Date 1180987722 -7200 # Node ID eb26f8f703649492d0ac1cddead7bba905512785 # Parent 22ebd6ee567226fa4d72b7ddeb56270c77c1d516# Parent 84ca5597a435f5e861f91345b1e591fa5cea3d0d merge with stable diff --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -92,7 +92,7 @@ summary: {desc|firstline} deftemplates = { 'changegroup': multiple_template, - } +} class notifier(object): '''email notification class.''' @@ -211,7 +211,8 @@ class notifier(object): msg['From'] = sender msg['Date'] = util.datestr(date=util.makedate(), - format="%a, %d %b %Y %H:%M:%S", timezone=True) + format="%a, %d %b %Y %H:%M:%S", + timezone=True) fix_subject() fix_sender() @@ -229,7 +230,7 @@ class notifier(object): self.ui.write('\n') else: self.ui.status(_('notify: sending %d subscribers %d changes\n') % - (len(self.subs), count)) + (len(self.subs), count)) mail.sendmail(self.ui, templater.email(msg['From']), self.subs, msgtext) @@ -265,7 +266,7 @@ def hook(ui, repo, hooktype, node=None, return if n.skipsource(source): ui.debug(_('notify: changes have source "%s" - skipping\n') % - source) + source) return node = bin(node) ui.pushbuffer() diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -48,7 +48,7 @@ filelogparent = 'p filediffchild = 'child {rev}{node|short}' filelogchild = 'child #rev#: #node|short#' shortlog = shortlog.tmpl -shortlogentry = '#date|age# ago#author##desc|strip|firstline|escape#changeset | manifest' +shortlogentry = '#date|age# ago#author|obfuscate##desc|strip|firstline|escape#changeset | manifest' filelogentry = '#date|age# ago#desc|strip|firstline|escape#file | diff | annotate #rename%filelogrename#' archiveentry = ' | #type|escape# ' indexentry = '#name|escape##description##contact|obfuscate##lastchange|age# ago #archives%archiveentry#'