hgext3rd/topic/__init__.py
changeset 2664 ed6fb5f20b24
parent 2662 9c0b293c2785
child 2665 0ade6e87346b
--- a/hgext3rd/topic/__init__.py	Mon Jun 26 17:47:04 2017 +0200
+++ b/hgext3rd/topic/__init__.py	Sun Jun 25 06:53:22 2017 +0530
@@ -286,7 +286,8 @@
             raise error.Abort('changing topic requires a topic name or --clear')
         if any(not c.mutable() for c in repo.set('%r and public()', rev)):
             raise error.Abort("can't change topic of a public change")
-        _changetopics(ui, repo, rev, topic)
+        return _changetopics(ui, repo, rev, topic)
+
     if clear:
         return _changecurrenttopic(repo, None)