comparison mercurial/phases.py @ 15948:536856769512 stable

phases: do not mark debug message for translation
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Fri, 20 Jan 2012 13:19:32 -0200
parents b9c7ac405757
children 52dc2b33d0be
comparison
equal deleted inserted replaced
15947:bdd1ed80e26e 15948:536856769512
145 nodemap = repo.changelog.nodemap # to filter unknown nodes 145 nodemap = repo.changelog.nodemap # to filter unknown nodes
146 for phase, nodes in enumerate(phaseroots): 146 for phase, nodes in enumerate(phaseroots):
147 missing = [node for node in nodes if node not in nodemap] 147 missing = [node for node in nodes if node not in nodemap]
148 if missing: 148 if missing:
149 for mnode in missing: 149 for mnode in missing:
150 msg = _('Removing unknown node %(n)s from %(p)i-phase boundary') 150 msg = 'Removing unknown node %(n)s from %(p)i-phase boundary'
151 repo.ui.debug(msg, {'n': short(mnode), 'p': phase}) 151 repo.ui.debug(msg, {'n': short(mnode), 'p': phase})
152 nodes.symmetric_difference_update(missing) 152 nodes.symmetric_difference_update(missing)
153 repo._dirtyphases = True 153 repo._dirtyphases = True
154 154
155 def advanceboundary(repo, targetphase, nodes): 155 def advanceboundary(repo, targetphase, nodes):