diff mercurial/context.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 a29db426c5ba
children 0945539a3a6b
line wrap: on
line diff