File: //usr/lib/python2.7/dist-packages/mercurial/namespaces.pyc
σ
ΫXc @@ so d d l m Z d d l m Z d d l m Z m Z d Z d e f d YZ d e f d YZ
d
S( i ( t absolute_importi ( t _( t
templatekwt utilc C@ s | d k r g S| g Sd S( sF
a convenience method to return an empty list instead of None
N( t None( t val( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt tolist s t
namespacesc B@ sM e Z d Z d Z d Z d Z d Z d Z d d Z d Z
RS( s provides an interface to register and operate on multiple namespaces. See
the namespace class below for details on the namespace object.
i c C@ s* t j | _ d } d } d } t d d d d t d d | d
| d | } | j | d } d
} d } t d d d d t d d | d
| d | d t d g } | j | d } d } d }
t d d d d t d d | d
| d |
} | j | d S( Nc S@ s
| j j S( N( t
_bookmarkst keys( t repo( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt <lambda> s c S@ s t | j j | S( N( R R t get( R
t name( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR s c S@ s
| j | S( N( t
nodebookmarks( R
t node( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR ! s t bookmarkst templatenamet bookmarkt logfmts bookmark: %s
t listnamest namemapt nodemapc S@ s# g | j D] \ } } | ^ q
S( N( t tagslist( R
t tt n( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR ) s c S@ s t | j j j | S( N( R t
_tagscachet tagsR ( R
R
( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR * s c S@ s
| j | S( N( t nodetags( R
R ( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR + s R t tags tag: %s
t
deprecatedt tipc S@ s | j j S( N( t branchmapR ( R
( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR 4 s c S@ s t | j | t S( N( R t branchtipt True( R
R
( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR 5 s c S@ s | | j g S( N( t branch( R
R ( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR 6 s t branchesR# s branch: %s
( R t sortdictt _namest namespaceR t addnamespacet set( t selft bmknamest
bmknamemapt
bmknodemapR t tagnamest
tagnamemapt
tagnodemapt bnamest bnamemapt bnodemap( ( s8 /usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt __init__ s4
c C@ s | j | S( s returns the namespace object( R&