Now, commands.resolve.confirm also respect --unmark option; and
confirm to unresolve all resolved files.
It will confirm only when no files pats are passed (same as --mark),
because when no pats are passed the default is to mark resolved files
as unresolved.
And if user has passed file pats then I think there is no need to confirm
for that.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGf35f6791595f: resolve: support confirm config option with --unmark flag
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
mercurial/commands.py | ||
---|---|---|
4555 | This should be 'mark all resolved files as unresolved'. |
mercurial/commands.py | ||
---|---|---|
4555 | Oops, sorry. |
mercurial/commands.py | ||
---|---|---|
4555 | You should not be sorry! |
Comment Actions
Please add about this config option in the releasenotes page for 4.8 at https://www.mercurial-scm.org/wiki/Release4.8.
mercurial/commands.py | ||
---|---|---|
4537 | This one should be moved after conditional in line 4544. Also we can now better organize the three if 'confirm' conditionals now. Can you please follow-up? |
This one should be moved after conditional in line 4544. Also we can now better organize the three if 'confirm' conditionals now. Can you please follow-up?