Is it possible to edit a summary after a commit using TortoiseHg?

前端 未结 7 1654
清酒与你
清酒与你 2021-01-04 01:30

Occasionally I commit some code to the repository, add a comment/summary, then read the summary back and realise I\'ve made a mistake or should have included a bit more info

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-04 02:20

    Judging by the answers .. so the sum-up answer is,

    Yes, it is possible if the last action was the commit of the changeset in question (in which case, execute the rollback command), and

    No, it is not possible, not out of the box (without the mq extension and a lot of gruntwork), if the changeset in question has already been pushed or subsequent check-ins have been made.

    I'm posting this answer because the other answers did not admit the 'no', only the 'if'. :) Feel free to vote down, I just wanted to spell out the inferences here.

提交回复
热议问题