hgext3rd/topic/topicmap.py
changeset 4803 88472e743c64
parent 4758 f0ecf2137824
child 4814 48b30ff742cb
--- a/hgext3rd/topic/topicmap.py	Tue Aug 06 11:10:36 2019 +0200
+++ b/hgext3rd/topic/topicmap.py	Tue Aug 06 11:17:38 2019 +0200
@@ -111,7 +111,7 @@
         return ret
     parents = ctx.parents()
 
-    if (not opts.get('amend') and bheads and node not in bheads and not
+    if (not opts.get(b'amend') and bheads and node not in bheads and not
         [x for x in parents if x.node() in bheads and x.branch() == branch]):
         repo.ui.status(_("(consider using topic for lightweight branches."
                          " See 'hg help topic')\n"))