Mercurial > hg
comparison mercurial/hook.py @ 27156:55fa7c3900ae
commit: add amend mode for commit -i
When I moved crecord into core, I didn't include the toggleAmend function (to
switch from commit to amend mode). I did it because it would have made it more
difficult to use record and crecord interchangably. This patch reintroduces the
amend mode for commit -i as well as two tests to verify the behavior of the
function.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Mon, 30 Nov 2015 16:37:42 -0800 |
parents | 10a1a4b3e775 |
children | 10695f8f3323 |
comparison
equal
deleted
inserted
replaced
27155:8d3c5797a175 | 27156:55fa7c3900ae |
---|