[PATCH 1 of 2 v2] hg: replace quietempty with show_stats for clean, merge, and update

timeless timeless at gmail.com
Fri Dec 18 10:46:36 CST 2015


On Fri, Dec 18, 2015 at 10:30 AM, Augie Fackler <raf at durin42.com> wrote:

>> -        hg.update(repo, self.state.parentctxnode, quietempty=True)
>> +        hg.update(repo, self.state.parentctxnode, show_stats=False)
>
> This strikes me as a slight bummer for users that have progress
> disabled. Should we still print the stats for users with progress off?

I suppose we could do that. I'm not sure how useful it is.
Note that you do get some output, assuming you have meaningful changes.

[timeless at gcc2-power8 OpenLiveWriter]$ hg histedit --cont
merging src/managed/OpenLiveWriter.BlogClient/Detection/BlogEditingTemplateStrategy.cs
editting [==========================>
                                               ]  49/193 32s

The merging line still appears. So, unless you're doing a huge series
where the vast majority of the space is empty, you will still see
output, just not the progress.


More information about the Mercurial-devel mailing list