-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
Ì\,Tc @ s‘ d Z d d l Z d d l Z d d l m Z d Z d d l m Z d „ Z d „ Z d „ Z
d e f d
„ ƒ YZ d a d „ Z d „ Z d S(
sK show progress bars for some actions
This extension uses the progress information logged by hg commands
to draw progress bars that are as informative as possible. Some progress
bars only offer indeterminate information, while others have a definite
end point.
The following settings are available::
[progress]
delay = 3 # number of seconds (float) before showing the progress bar
changedelay = 1 # changedelay: minimum delay before showing a new topic.
# If set to less than 3 * refresh, that value will
# be used instead.
refresh = 0.1 # time in seconds between refreshes of the progress bar
format = topic bar number estimate # format of the progress bar
width = <none> # if set, the maximum width of the progress information
# (that is, min(width, term width) will be used)
clear-complete = True # clear the progress bar after it's done
disable = False # if true, don't show a progress bar
assume-tty = False # if true, ALWAYS show a progress bar, unless
# disable is given
Valid entries for the format field are topic, bar, number, unit,
estimate, speed, and item. item defaults to the last 20 characters of
the item, but this can be changed by adding either ``-<num>`` which
would take the last num characters, or ``+<num>`` for the first num
characters.
iÿÿÿÿN( t _t internal( t encodingc G s d j d „ | Dƒ ƒ S( Nt c s s | ] } | r | Vq d S( N( ( t .0t s( ( s2 /usr/lib/python2.7/dist-packages/hgext/progress.pys <genexpr>/ s ( t join( t args( ( s2 /usr/lib/python2.7/dist-packages/hgext/progress.pyt spacejoin. s c C s/ | j ƒ o. | j t j ƒ p. | j d d ƒ S( Nt progresss
assume-tty( t plaint _isattyt syst stderrt
configbool( t ui( ( s2 /usr/lib/python2.7/dist-packages/hgext/progress.pyt shouldprint1 s c C sN | d k r t d ƒ | S| d } | d k rR | | d 8} t d ƒ | | f S| d 7} | d } | | d 8} | d k r” t d ƒ | | f S| d 7} | d } | | d 8} | d k rÖ t d ƒ | | f S| d 7} | d
} | | d
8} | d k rt d ƒ | | f S| d 7} | d
} | | d
8} t d ƒ | | f S( Ni<