Instead of the _showstats output from hg.py, we now output the args and time of
the mercurial command we are undoing.
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGXfb0eda1a7127: undo: informative output
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
hgext3rd/undo.py | ||
---|---|---|
762 | This might swallow other important messages. There is a better way to silent "update" output. | |
793–795 | hg.clean seems cleaner: hg.clean(repo, workingcopyparent, show_stats=False) Since we have cmdutil.bailifchanged() checked before, it should not drop uncommitted changes. | |
846 | Maybe say something here, like: undone to TIME, just after COMMAND We probably want to avoid the detailed output if -b is used. |
Comment Actions
With this change I'm leaving in the -b as it now makes sense. The command that is posted as output is the (first) one of the commands that affected that branch and were undone.
This might swallow other important messages. There is a better way to silent "update" output.