hgext3rd/topic/__init__.py
changeset 2897 bd04a614b866
parent 2890 1e3d97486861
child 2898 3dfc88c06378
--- a/hgext3rd/topic/__init__.py	Wed Aug 09 11:32:19 2017 +0200
+++ b/hgext3rd/topic/__init__.py	Fri Sep 01 17:37:47 2017 +0200
@@ -388,10 +388,10 @@
             txn = repo.transaction('rewrite-topics')
             rewrote = _changetopics(ui, repo, rev, topic)
             txn.close()
+            ui.status('changed topic on %d changes\n' % rewrote)
         finally:
             lockmod.release(txn, l, wl)
             repo.invalidate()
-            ui.status('changed topic on %d changes\n' % rewrote)
         return
 
     if clear: