##// END OF EJS Templates
progress: include time estimate as part of the default progress format
Augie Fackler -
r13148:ab5fcc47 default
parent child Browse files
Show More
@@ -28,7 +28,7 b' The following settings are available::'
28 [progress]
28 [progress]
29 delay = 3 # number of seconds (float) before showing the progress bar
29 delay = 3 # number of seconds (float) before showing the progress bar
30 refresh = 0.1 # time in seconds between refreshes of the progress bar
30 refresh = 0.1 # time in seconds between refreshes of the progress bar
31 format = topic bar number # format of the progress bar
31 format = topic bar number estimate # format of the progress bar
32 width = <none> # if set, the maximum width of the progress information
32 width = <none> # if set, the maximum width of the progress information
33 # (that is, min(width, term width) will be used)
33 # (that is, min(width, term width) will be used)
34 clear-complete = True # clear the progress bar after it's done
34 clear-complete = True # clear the progress bar after it's done
@@ -90,7 +90,7 b' class progbar(object):'
90 'progress', 'refresh', default=0.1))
90 'progress', 'refresh', default=0.1))
91 self.order = self.ui.configlist(
91 self.order = self.ui.configlist(
92 'progress', 'format',
92 'progress', 'format',
93 default=['topic', 'bar', 'number'])
93 default=['topic', 'bar', 'number', 'estimate'])
94
94
95 def show(self, now, topic, pos, item, unit, total):
95 def show(self, now, topic, pos, item, unit, total):
96 if not shouldprint(self.ui):
96 if not shouldprint(self.ui):
General Comments 0
You need to be logged in to leave comments. Login now