version control - How to edit incorrect commit message in Mercurial? - Stack Overflow

version control - How to edit incorrect commit message in Mercurial? - Stack Overflow

瀏覽:1376
日期:2025-11-14
Well, I used to do this way: Imagine, you have 500 commits, and your erroneous commit message is in r.498. hg qimport -r 498:tip hg qpop -a joe .hg/patches/498.diff (change the comment, after the mercurial header) hg qpush -a hg qdelete -r qbase:qtip...看更多