hgext3rd/topic/__init__.py
changeset 2649 cf930521f14d
parent 2648 d8b47d961c77
child 2652 839c2879edcc
equal deleted inserted replaced
2648:d8b47d961c77 2649:cf930521f14d
   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