Depends on D931.
This patch introduces functions and a config option that will allow a user
to halt the merge if there are failures during a file merge. These functions
will be used in the next patch.
Depends on D931.
This patch introduces functions and a config option that will allow a user
to halt the merge if there are failures during a file merge. These functions
will be used in the next patch.
Lint Skipped |
Unit Tests Skipped |
mercurial/help/config.txt | ||
---|---|---|
1248 | typo, s/half/halt |
I was initially confused by the description of this change, because the user can already halt (by configuration) after the first failed file merge. But this introduces a way for them to be prompted whether to halt or continue, right? Also:
These functions will be used in the next patch.
What's the "next patch"? I'm not seeing it in Phabricator.
I was initially confused by the description of this change, because the user can already halt (by configuration) after the first failed file merge.
As far as I know, this is simply not true. I know of no way in mercurial, before this series, to halt a merge after the first failed file merge. If it's already there, I'm happy to be informed of it and drop this series.
But this introduces a way for them to be prompted whether to halt or continue, right?
It introduces the first way that I'm aware of to halt a merge after a failed file merge. It also gives an option to prompt which also didn't exist before.
Also: What's the "next patch"? I'm not seeing it in Phabricator.
I had my internet connection at the airport interrupted and was only now able to finish sending the series. Sorry about that.
mercurial/help/config.txt | ||
---|---|---|
1248 | Will fix. |
I've landed this stack through D931, will hold this one until at least Monday in case anyone objects on the style change.
mercurial/configitems.py | ||
---|---|---|
308 | I'm following up on the list (with @ryanmce cc'ed) about the policy change - I dug up the email thread and it kind of trailed off without any kind of clear consensus that we should change. FWIW, I like this style, and endorse it, I just want to make sure nobody objects before we lock it in. :) |
mercurial/filemerge.py | ||
---|---|---|
731–732 | nit: Is the default used only with non-interactive ui? If it also works as a default that lets the user just press enter to choose Yes, I'd expect the "yn" to be "Yn" |
mercurial/filemerge.py | ||
---|---|---|
731–732 | I think fixes to unclear prompts are acceptable during the freeze. @martinvonz @durin42 @yuja what do y'all think? |
this could be on-failure, per the comment on D789