# HG changeset patch # User Anton Shestakov # Date 1690486629 10800 # Node ID 09fb1cfb5adc0b1a1774b8600233840e952f1843 # Parent 45689da4ed41b92025fbe66dc023f7596acb73b0 topic: update hg debug-topic-namespace to treat "none" as the empty value Follow-up for 963471ebe26a. diff -r 45689da4ed41 -r 09fb1cfb5adc hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Fri Jul 14 15:54:51 2023 -0300 +++ b/hgext3rd/topic/__init__.py Thu Jul 27 16:37:09 2023 -0300 @@ -1783,7 +1783,7 @@ scmutil.checknewlabel(repo, tns, b'topic namespace') ctns = repo.currenttns _changecurrenttns(repo, tns) - if ctns == b'none' and tns: + if ctns == b'none' and tns != b'none': repo.ui.status(_(b'marked working directory as topic namespace: %s\n') % tns)