Is there a mercurial equivalent of git add -p?
Quoting from man, git-add with the option -p (or --patch) does the following:
Inte
As of Mercurial 3.8.1 the crecord extension is builtin. Make sure the “ui” section in your .hgrc contains interface = curses, or you get an uncomfortable question-and-answer-interface.
[ui]
interface = curses
Then do your commits interactively to be asked about which hunk—or—which line you want to include in that commit.
hg commit --interactive