equal
deleted
inserted
replaced
329 continue |
329 continue |
330 if newtopic is None: |
330 if newtopic is None: |
331 del fixedextra[constants.extrakey] |
331 del fixedextra[constants.extrakey] |
332 else: |
332 else: |
333 fixedextra[constants.extrakey] = newtopic |
333 fixedextra[constants.extrakey] = newtopic |
|
334 fixedextra[constants.changekey] = c.hex() |
334 if 'amend_source' in fixedextra: |
335 if 'amend_source' in fixedextra: |
335 # TODO: right now the commitctx wrapper in |
336 # TODO: right now the commitctx wrapper in |
336 # topicrepo overwrites the topic in extra if |
337 # topicrepo overwrites the topic in extra if |
337 # amend_source is set to support 'hg commit |
338 # amend_source is set to support 'hg commit |
338 # --amend'. Support for amend should be adjusted |
339 # --amend'. Support for amend should be adjusted |