-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
Ì\,Tc @ s· d d l Z d d l Z d d l Z d d l Z d d l Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z i e d 6e d 6e
d
6e d 6Z d „ Z
d
e f d „ ƒ YZ d S( iÿÿÿÿNc C s t j | d ƒ S( sc Revisions candidates to be hidden
This is a standalone function to help extensions to wrap it.t obsolete( R t getrevs( t repo( ( s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pyt hideablerevs s c s^ | j j s t ‚ t | ƒ } g } | rZ| j } t | ƒ } | j d | ƒ } | j d t | ƒ t | ƒ ƒ } g | D] } | | k rz | ^ qz } x+ | d j ƒ D] } | j | j
ƒ ƒ q© Wx- | j j ƒ D] } | j | j
| ƒ ƒ qÖ Wi }
t
j | j | |
i ƒ |
rZ| j
| j ‰ ‰ | j ‡ ‡ f d † |
j ƒ Dƒ ƒ qZn | S( s… Get revisions that will block hidden changesets from being filtered
This is a standalone function to help extensions to wrap it.t starts (%ld) and children(%ld)c 3 s/ | ]% } | d ˆ k r ˆ | d ƒ Vq d S( i N( ( t .0t t( t nodemapt rev( s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pys <genexpr>- s N( t changelogt filteredrevst AssertionErrorR t mint revst listt Nonet parentst appendR t
_bookmarkst valuest tagsmodt
readlocaltagst uiR t extend( R t hideablet blockerst clt
firsthideableR
t tofiltert rt part bmt tags( ( R R s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pyt _gethiddenblockers s( %,c sj | j j s t ‚ t | ƒ } | rc | j } | j t | ƒ d t ƒ‰ t ‡ f d † | Dƒ ƒ St ƒ S( sb compute the set of hidden revision to filter
During most operation hidden should be filtered.t inclusivec 3 s! | ] } | ˆ k r | Vq d S( N( ( R R ( t blocked( s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pys <genexpr>9 s ( R R
R R t ancestorsR! t Truet frozenset( R R R ( ( R# s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pyt
computehidden0 s c s¿ ˆ j j s t ‚ t ˆ d ƒ } t j ˆ ƒ r· ˆ j ‰ t j ‰ ˆ j j ‰ t ‡ f d † ˆ j j
ˆ Dƒ ƒ } ˆ j d | ƒ } t ‡ ‡ ‡ f d † | Dƒ ƒ } t
| | Bƒ S| Sd S( s† compute the set of revision that should be filtered when used a server
Secret and hidden changeset should not pretend to be here.t visiblec 3 s | ] } ˆ j | ƒ Vq d S( N( R ( R t n( R ( s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pys <genexpr>G s R c 3 s* | ] } ˆ ˆ | ƒ ˆ k r | Vq d S( N( ( R R ( t getphaseR t secret( s6 /usr/lib/python2.7/dist-packages/mercurial/repoview.pys <genexpr>I s N( R R
R t
filterrevst phasest hassecretR+ t _phasecachet phaseR t
phaserootsR
t setR&