topic: update the message used with --age for empty topic
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Sep 2017 17:20:42 +0200
changeset 2933 3b67642a0bc6
parent 2932 0afd41ac31d2
child 2934 e16981ccfca9
topic: update the message used with --age for empty topic This clarify things when a topic got emptied by publishing.
hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py	Wed Aug 30 17:32:32 2017 +0200
+++ b/hgext3rd/topic/__init__.py	Fri Sep 15 17:20:42 2017 +0200
@@ -749,7 +749,7 @@
             fm.data(active=active)
             fm.plain(' (')
             if timevalue == -1:
-                timestr = 'not yet touched'
+                timestr = 'empty and active'
             else:
                 timestr = templatefilters.age(timedict[timevalue][0])
             fm.write('lasttouched', '%s', timestr, label='topic.list.time')