This is an archive of the discontinued Mercurial Phabricator instance.

resolve: support commands.resolve.confirm option with --mark flag
ClosedPublic

Authored by khanchi97 on Aug 4 2018, 3:31 AM.

Details

Summary

Now, commands.resolve.confirm config option also respect --mark; and
confirm to mark all 'unresolved' files as 'resolved'.

It will confirm only when you don't pass any pats i.e 'hg resolve -m',
because when no file pats are passed then --mark's default functionality
is to mark all unresolved files.
And if user has given file pats then I think there is no need to confirm.

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

khanchi97 created this revision.Aug 4 2018, 3:31 AM
pulkit accepted this revision.Aug 4 2018, 1:09 PM
This revision was automatically updated to reflect the committed changes.