# HG changeset patch # User Martin von Zweigbergk # Date 1562944645 25200 # Node ID c01c9b9d37133adc04a725357bbaf4f096b94673 # Parent 22ffbbba695d47cf7fc57dc77941768b457825af py3: avoid "%s" for formatting None diff -r 22ffbbba695d -r c01c9b9d3713 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Fri Jul 12 08:16:30 2019 -0700 +++ b/hgext3rd/topic/__init__.py Fri Jul 12 08:17:25 2019 -0700 @@ -964,7 +964,7 @@ # to not be so invasive. del fixedextra['amend_source'] ui.debug('changing topic of %s from %s to %s\n' % ( - c, oldtopic, newtopic)) + c, oldtopic or '', newtopic or '')) ui.debug('fixedextra: %r\n' % fixedextra) # While changing topic of set of linear commits, make sure that # we base our commits on new parent rather than old parent which