Mercurial > hg
diff mercurial/scmwindows.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 | adae8928fe09 |
children | 029f02757c20 |