diff mercurial/httppeer.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 56b2bcea2529
children b502138f5faa
line wrap: on
line diff