HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python2.7/dist-packages/mercurial/namespaces.pyc
σ
ΫXc@@soddlmZddlmZddlmZmZd„Zdefd„ƒYZ	defd	„ƒYZ
d
S(i(tabsolute_importi(t_(t
templatekwtutilcC@s|dkrgS|gSdS(sF
    a convenience method to return an empty list instead of None
    N(tNone(tval((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyttolist	st
namespacescB@sMeZdZdZd„Zd„Zd„Zd„Zdd„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.

    icC@s*tjƒ|_d„}d„}d„}tddddtdƒd	|d
|d|ƒ}|j|ƒd„}d
„}d„}tddddtdƒd	|d
|d|dtdgƒƒ}|j|ƒd„}d„}	d„}
tddddtdƒd	|d
|	d|
ƒ}|j|ƒdS(NcS@s
|jjƒS(N(t
_bookmarkstkeys(trepo((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt<lambda>scS@st|jj|ƒƒS(N(RRtget(R
tname((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR scS@s
|j|ƒS(N(t
nodebookmarks(R
tnode((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR!st	bookmarksttemplatenametbookmarktlogfmtsbookmark:    %s
t	listnamestnamemaptnodemapcS@s#g|jƒD]\}}|^q
S(N(ttagslist(R
tttn((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR)scS@st|jjj|ƒƒS(N(Rt
_tagscachettagsR(R
R
((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR*scS@s
|j|ƒS(N(tnodetags(R
R((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR+sRttagstag:         %s
t
deprecatedttipcS@s|jƒjƒS(N(t	branchmapR	(R
((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR4scS@st|j|tƒƒS(N(Rt	branchtiptTrue(R
R
((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR5scS@s||jƒgS(N(tbranch(R
R((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR6stbranchesR#sbranch:      %s
(Rtsortdictt_namest	namespaceRtaddnamespacetset(tselftbmknamest
bmknamemapt
bmknodemapRttagnamest
tagnamemapt
tagnodemaptbnamestbnamemaptbnodemap((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt__init__s4			
			
			cC@s|j|S(sreturns the namespace object(R&(R*R'((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt__getitem__>scC@s
|jjƒS(N(R&t__iter__(R*((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR6BscC@s
|jjƒS(N(R&t	iteritems(R*((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR7Esc@sp|dk	r(|jj|ˆjˆƒnˆ|jˆj<ˆjtjkrl‡fd†}|tjˆj<ndS(sζregister a namespace

        namespace: the name to be registered (in plural form)
        order: optional argument to specify the order of namespaces
               (e.g. 'branches' should be listed before 'bookmarks')

        c@stjˆj|S(N(Rt	shownamesR
(targs(R'(s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt
generatekwWsN(RR&tinsertR
Rtkeywords(R*R'torderR:((R's8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR(Hsc@sžx|jjƒD]p\}}|j||ƒ}|rt|ƒdkrx|j‰t‡fd†|Dƒƒ}ˆj|ƒS|dSqWttdƒ|ƒ‚dS(s
        Return the 'best' node for the given name. Best means the first node
        in the first nonempty list returned by a name-to-nodes mapping function
        in the defined precedence order.

        Raises a KeyError if there is no such node.
        ic3@s|]}ˆj|ƒVqdS(N(trev(t.0R(tcl(s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pys	<genexpr>jsisno such name: %sN(	R&R7Rtlent	changelogtmaxRtKeyErrorR(R*R
R
tnstvRtmaxrev((R@s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt
singlenode\s	
N(t__name__t
__module__t__doc__t_names_versionR4R5R6R7RR(RH(((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyRs	$			R'c	B@sAeZdZddddddddd„Zd„Zd„ZRS(s°provides an interface to a namespace

    Namespaces are basically generic many-to-many mapping between some
    (namespaced) names and nodes. The goal here is to control the pollution of
    jamming things into tags or bookmarks (in extension-land) and to simplify
    internal bits of mercurial: log output, tab completion, etc.

    More precisely, we define a mapping of names to nodes, and a mapping from
    nodes to names. Each mapping returns a list.

    Furthermore, each name mapping will be passed a name to lookup which might
    not be in its domain. In this case, each method should return an empty list
    and not raise an error.

    This namespace object will define the properties we need:
      'name': the namespace (plural form)
      'templatename': name to use for templating (usually the singular form
                      of the plural namespace name)
      'listnames': list of all names in the namespace (usually the keys of a
                   dictionary)
      'namemap': function that takes a name and returns a list of nodes
      'nodemap': function that takes a node and returns a list of names
      'deprecated': set of names to be masked for ordinary use

    c

C@sΫ||_||_||_||_||_||_||_||_|jdkrf|j|_n|jdkr„|j|_n|jdkr³d|jj	dƒd|_n|	dkrΞt
ƒ|_n	|	|_dS(sΗcreate a namespace

        name: the namespace to be registered (in plural form)
        templatename: the name to use for templating
        logname: the name to use for log output; if not specified templatename
                 is used
        colorname: the name to use for colored log output; if not specified
                   logname is used
        logfmt: the format to use for (i18n-ed) log output; if not specified
                it is composed from logname
        listnames: function to list all names
        namemap: function that inputs a name, output node(s)
        nodemap: function that inputs a node, output name(s)
        deprecated: set of names to be masked for ordinary use

        s%s:i
s%s
N(R
Rtlognamet	colornameRRRRRtljustR)R(
R*R
RRMRNRRRRR((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR4Šs"								 cC@st|j||ƒƒS(s[method that returns a (sorted) list of names in a namespace that
        match a given node(tsortedR(R*R
R((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pytnamesΈscC@st|j||ƒƒS(s]method that returns a list of nodes in a namespace that
        match a given name.

        (RPR(R*R
R
((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pytnodes½sN(RIRJRKRR4RQRR(((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyR'os	,	N(t
__future__Rti18nRtRRRtobjectRR'(((s8/usr/lib/python2.7/dist-packages/mercurial/namespaces.pyt<module>s
		]