Mercurial cherry picking changes for commit

后端 未结 10 1351
长情又很酷
长情又很酷 2020-12-01 01:15

Say, I made many changes to my code and only need to commit a few of those changes. Is there a way to do it in mercurial? I know that darcs has a feature like t

10条回答
  •  北海茫月
    2020-12-01 01:56

    I use commit-patch. It's a script that lets you edit the diff before committing. It's really nice with Emacs's diff-mode and vc-mode.

    In the past I used crecord, but it has bugs related to unicode (actually the record extension has the bugs, which crecord depends on).

提交回复
热议问题