hgext3rd/topic/__init__.py
changeset 4757 c01c9b9d3713
parent 4752 8a73a8df63b6
child 4788 6f37fdad7ac1
--- 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 '<none>', newtopic or '<none>'))
         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