Mercurial > evolve
comparison hgext3rd/topic/__init__.py @ 4182:4d30cb45b57f
branching: merge with default
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 17 Oct 2018 14:02:18 +0200 |
parents | 14e53783596c |
children | cae466b70bf1 |
comparison
equal
deleted
inserted
replaced
4181:ab3581bc0637 | 4182:4d30cb45b57f |
---|---|
176 # (first pick I could think off, update as needed | 176 # (first pick I could think off, update as needed |
177 'log.topic': 'green_background', | 177 'log.topic': 'green_background', |
178 'topic.active': 'green', | 178 'topic.active': 'green', |
179 } | 179 } |
180 | 180 |
181 __version__ = '0.12.0.dev' | 181 __version__ = '0.13.0.dev' |
182 | 182 |
183 testedwith = '4.3.3 4.4.2 4.5.2 4.6.2 4.7' | 183 testedwith = '4.3.3 4.4.2 4.5.2 4.6.2 4.7' |
184 minimumhgversion = '4.3' | 184 minimumhgversion = '4.3' |
185 buglink = 'https://bz.mercurial-scm.org/' | 185 buglink = 'https://bz.mercurial-scm.org/' |
186 | 186 |
353 | 353 |
354 cmdutil.summaryhooks.add('topic', summaryhook) | 354 cmdutil.summaryhooks.add('topic', summaryhook) |
355 | 355 |
356 if not post45template: | 356 if not post45template: |
357 templatekw.keywords['topic'] = topickw | 357 templatekw.keywords['topic'] = topickw |
358 templatekw.keywords['topicidx'] = topicidxkw | |
358 # Wrap workingctx extra to return the topic name | 359 # Wrap workingctx extra to return the topic name |
359 extensions.wrapfunction(context.workingctx, '__init__', wrapinit) | 360 extensions.wrapfunction(context.workingctx, '__init__', wrapinit) |
360 # Wrap changelog.add to drop empty topic | 361 # Wrap changelog.add to drop empty topic |
361 extensions.wrapfunction(changelog.changelog, 'add', wrapadd) | 362 extensions.wrapfunction(changelog.changelog, 'add', wrapadd) |
362 | 363 |