mercurial/__init__.py
author Laurent Charignon <lcharignon@fb.com>
Mon, 30 Nov 2015 16:37:42 -0800
changeset 27156 55fa7c3900ae
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
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.