hgext3rd/topic/constants.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 05 Dec 2017 13:53:04 +0100
branchstable
changeset 3227 873d2f1949e1
parent 2649 cf930521f14d
child 4814 48b30ff742cb
permissions -rw-r--r--
topic: use more protective code to access current topic There are some code path where the operation is not properly initialized and lack the new attributes. While the lack of initialization, is suspicious and I've not be able to pin point case where this happens. Currently the code crash when it encounter this situation. So we make the code more resistant to this case to prevent bad user experience.

extrakey = 'topic'
changekey = '_rewrite_noise'