Skip to content
Snippets Groups Projects
Commit cb70501d8b71 authored by Sushil Khanchi's avatar Sushil Khanchi :koala:
Browse files

revert: fix the inconsistency of status msgs in --interactive mode

Before this patch we were priting every action msg before actually
performing that action and that was resulting in inconsistencies;
like in --interactive session if user decided to not revert any
changes in a file foo, still there will be a msg on console saying
"reverting foo".

To fix this, I have made some changes to print status msg just
before the action it is going to perform, no matter if --interactive
or not.

Changes made in test-revert-interactive.t reflect the changed behavior.
There are also some changes in test-revert.t because of change in the
order of messages.

Differential Revision: https://phab.mercurial-scm.org/D4380
parent 90afd61ef8a2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment