Mercurial > evolve
comparison hgext3rd/topic/__init__.py @ 2933:3b67642a0bc6
topic: update the message used with --age for empty topic
This clarify things when a topic got emptied by publishing.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 15 Sep 2017 17:20:42 +0200 |
parents | 7932a0deae18 |
children | 7759d040d48d |
comparison
equal
deleted
inserted
replaced
2932:0afd41ac31d2 | 2933:3b67642a0bc6 |
---|---|
747 fm.plain(' %s ' % marker, label=label) | 747 fm.plain(' %s ' % marker, label=label) |
748 fm.write('topic', namemask, topic, label=label) | 748 fm.write('topic', namemask, topic, label=label) |
749 fm.data(active=active) | 749 fm.data(active=active) |
750 fm.plain(' (') | 750 fm.plain(' (') |
751 if timevalue == -1: | 751 if timevalue == -1: |
752 timestr = 'not yet touched' | 752 timestr = 'empty and active' |
753 else: | 753 else: |
754 timestr = templatefilters.age(timedict[timevalue][0]) | 754 timestr = templatefilters.age(timedict[timevalue][0]) |
755 fm.write('lasttouched', '%s', timestr, label='topic.list.time') | 755 fm.write('lasttouched', '%s', timestr, label='topic.list.time') |
756 fm.plain(')') | 756 fm.plain(')') |
757 fm.plain('\n') | 757 fm.plain('\n') |