GRAYBYTE WORDPRESS FILE MANAGER8419

Server IP : 162.254.39.133 / Your IP : 216.73.216.176
System : Linux premium287.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
PHP Version : 8.1.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/lib64/python2.7/Demo/pdist/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib64/python2.7/Demo/pdist//rcslib.pyc
�
��^c@sYdZddlZddlZddlZddlZddlZddd��YZdS(s�RCS interface module.

Defines the class RCS, which represents a directory with rcs version
files and (possibly) corresponding work files.

i����NtRCScBseZdZejejdZd�Zd�Zdd�Z	d�Z
d�Zd�Zd	�Z
d
dd�Zddd�Zdd
�Zd�Zd�Zd�Zd�Zd�Zddd�Zd�Zd�Zd�Zdd�Zd�Zd�ZRS(s7RCS interface class (local filesystem version).

    An instance of this class represents a directory with rcs version
    files and (possible) corresponding work files.

    Methods provide access to most rcs operations such as
    checkin/checkout, access to the rcs metadata (revisions, logs,
    branches etc.) as well as some filesystem operations such as
    listing all rcs version files.

    XXX BUGS / PROBLEMS

    - The instance always represents the current directory so it's not
    very useful to have more than one instance around simultaneously

    s-_=+cCsdS(sConstructor.N((tself((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyt__init__&scCsdS(sDestructor.N((R((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyt__del__*stcCsi|j|d|�}|j�}|j|�}|rH|d|}n|ddkre|d }n|S(smReturn the full log text for NAME_REV as a string.

        Optional OTHERFLAGS are passed to rlog.

        srlog s%s: %si����s
(t_opentreadt
_closepipe(Rtname_revt
otherflagstftdatatstatus((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytlog0s
cCs|j|�}|dS(s%Return the head revision for NAME_REVthead(tinfo(RRtdict((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR?sc	Cs�|j|d�}i}x}|j�}|s1Pn|ddkrGqntj|d�}|dkr|| tj||d�}}|||<qqW|j|�}|r�t|�n|S(sReturn a dictionary of info (from rlog -h) for NAME_REV

        The dictionary's keys are the keywords that rlog prints
        (e.g. 'head' and its values are the corresponding data
        (e.g. '1.3').

        XXX symbolic names and locks are not returned

        srlog -his	t:i(RtreadlinetstringtfindtstripRtIOError(	RRR
RtlinetitkeytvalueR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyRDs 
"cCs2|j|�\}}d||f}|j|�S(sSet an rcs lock on NAME_REV.srcs -l%s %s(t	checkfilet_system(RRtnametrevtcmd((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytlockbscCs2|j|�\}}d||f}|j|�S(sClear an rcs lock on NAME_REV.srcs -u%s %s(RR(RRRRR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytunlockhsicCsM|j|�\}}|r$d}nd}d||||f}|j|�S(s�Check out NAME_REV to its work file.

        If optional WITHLOCK is set, check out locked, else unlocked.

        The optional OTHERFLAGS is passed to co without
        interpretation.

        Any output from co goes to directly to stdout.

        s-ls-us
co %s%s %s %s(RR(RRtwithlockR	RRtlockflagR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytcheckoutns	c
Cs�|j|�\}}|j|�}|s4d}n|rW|ddkrW|d}nd}|r�tj�}|j|�|j�d|||j||f}	n.tjdd|�}d|||||f}	|j	|	�S(	s_Check in NAME_REV from its work file.

        The optional MESSAGE argument becomes the checkin message
        (default "<none>" if None); or the file description if this is
        a new file.

        The optional OTHERFLAGS argument is passed to ci without
        interpretation.

        Any output from ci goes to directly to stdout.

        s<none>i����s
s-usci %s%s -t%s %s %ss([\"$`])s\\\1sci %s%s -m"%s" %s %s(
t	_unmangletisvalidttempfiletNamedTemporaryFiletwritetflushRtretsubR(
RRtmessageR	RRtnewR#R
R((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytcheckins"
	


cCs�tjtj�}t|j|�}tjjd�rdtjd�}t|j|�}||}nt|j|�}|j	||�S(s=Return a list of all version files matching optional PATTERN.R(
tostlistdirtcurdirtfiltert_isrcstpathtisdirtmaptrealnamet_filter(Rtpattfilestfiles2((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyt	listfiles�s
cCs@|j|�}tjj|�p?tjjtjjd|��S(s0Test whether NAME has a version file associated.R(trcsnameR0R5tisfiletjoin(RRtnamev((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR&�scCs�|j|�r|}n
|d}tjj|�r8|Stjjdtjj|��}tjj|�ro|Stjjd�r�tjjd|�S|SdS(s�Return the pathname of the version file for NAME.

        The argument can be a work file name or a version file name.
        If the version file does not exist, the name of the version
        file that would be created by "ci" is returned.

        s,vRN(R4R0R5R?R@tbasenameR6(RRRA((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR>�s	
!cCsN|j|�r|d }n|}tjj|�r8|Stjj|�}|S(s�Return the pathname of the work file for NAME.

        The argument can be a work file name or a version file name.
        If the work file does not exist, the name of the work file
        that would be created by "co" is returned.

        i����(R4R0R5R?RB(RRAR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR8�s
cCs�|j|d�}|j�}|j|�}|r?t|�n|sIdS|ddkrf|d }n|j|�|j|�kS(s�Test whether FILE (which must have a version file) is locked.

        XXX This does not tell you which revision number is locked and
        ignores any revision you may pass in (by virtue of using rlog
        -L -R).

        s
rlog -L -Ri����s
N(RRRRtNoneR8(RRR
RR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytislocked�s
cCsD|j|�\}}|j|�s:tjd|f�n||fS(s}Normalize NAME_REV into a (NAME, REV) tuple.

        Raise an exception if there is no corresponding version file.

        snot an rcs file %r(R%R&R0terror(RRRR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR�ssco -ps-rcCsV|j|�\}}|j|�}|r?|d||}ntjd||f�S(sINTERNAL: open a read pipe to NAME_REV using optional COMMAND.

        Optional FLAG is used to indicate the revision (default -r).

        Default COMMAND is "co -p".

        Return a file object connected by a pipe to the command's
        output.

        t s%s %r(RR>R0tpopen(RRRtrflagRRRA((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR�s
cCsmt|�td�kr1|df}\}}n|\}}x)|D]!}||jkrDtd�qDqDW|S(s�INTERNAL: Normalize NAME_REV argument to (NAME, REV) tuple.

        Raise an exception if NAME contains invalid characters.

        A NAME_REV argument is either NAME string (implying REV='') or
        a tuple of the form (NAME, REV).

        Rsbad char in rev(ttypetokcharst
ValueError(RRRRtc((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR%s	
cCs�|j�}|sd	St|d�\}}|dkrAd|fS|d@}|dkrfd}|}nd}|d@r�|d}n||fS(
s:INTERNAL: Close PIPE and print its exit status if nonzero.iitexititstoppedtkilledi�s
(coredump)N(tcloseRCtdivmod(RR
tststdetailtreasontsignaltcode((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyRs

	

cCs3|d}tj|�}|r/td|�ndS(s{INTERNAL: run COMMAND in a subshell.

        Standard input for the command is taken from /dev/null.

        Raise IOError when the exit status is not zero.

        Return whatever the calling method should return; normally
        None.

        A derived class may override this method and redefine it to
        capture stdout/stderr of the command and return it.

        s </dev/nullscommand exit status %dN(R0tsystemR(RRRR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR#s
cCs9|r$|d�}t||�}n|}|j�|S(s�INTERNAL: Return a sorted copy of the given list of FILES.

        If a second PATTERN argument is given, only files matching it
        are kept.  No check for valid filenames is made.

        cSstj||�S(N(tfnmatch(RR:((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pytkeep=s(R3tsort(RR;R:RY((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR95s
cCs,ytj|�Wntjk
r'nXdS(s)INTERNAL: remove FILE without complaints.N(R0tunlinkRE(Rtfn((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyt_removeEscCs|ddkS(s)INTERNAL: Test whether NAME ends in ',v'.i����s,v((RR((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyR4LsN(t__name__t
__module__t__doc__Rt
ascii_letterstdigitsRJRRR
RRR R!R$RCR/R=R&R>R8RDRRR%RRR9R]R4(((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyRs0						!					
				((R`RXR0R+RR'R(((s)/usr/lib64/python2.7/Demo/pdist/rcslib.pyt<module>s

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 15 2024 10:33:33
root / root
0755
FSProxy.py
7.645 KB
April 19 2020 21:13:39
root / root
0644
FSProxy.pyc
12.495 KB
April 10 2024 04:58:46
root / root
0644
FSProxy.pyo
12.495 KB
April 10 2024 04:58:46
root / root
0644
RCSProxy.py
4.612 KB
April 10 2024 04:57:37
root / root
0755
RCSProxy.pyc
7.569 KB
April 10 2024 04:58:46
root / root
0644
RCSProxy.pyo
7.569 KB
April 10 2024 04:58:46
root / root
0644
README
4.164 KB
April 19 2020 21:13:39
root / root
0644
client.py
4.598 KB
April 19 2020 21:13:39
root / root
0644
client.pyc
6.566 KB
April 10 2024 04:58:46
root / root
0644
client.pyo
6.566 KB
April 10 2024 04:58:46
root / root
0644
cmdfw.py
4.532 KB
April 19 2020 21:13:39
root / root
0644
cmdfw.pyc
5.116 KB
April 10 2024 04:58:46
root / root
0644
cmdfw.pyo
5.116 KB
April 10 2024 04:58:46
root / root
0644
cmptree.py
5.643 KB
April 19 2020 21:13:39
root / root
0644
cmptree.pyc
5.979 KB
April 10 2024 04:58:46
root / root
0644
cmptree.pyo
5.979 KB
April 10 2024 04:58:46
root / root
0644
cvslib.py
9.937 KB
April 19 2020 21:13:39
root / root
0644
cvslib.pyc
12.832 KB
April 10 2024 04:58:46
root / root
0644
cvslib.pyo
12.832 KB
April 10 2024 04:58:46
root / root
0644
cvslock.py
6.612 KB
April 19 2020 21:13:39
root / root
0644
cvslock.pyc
8.359 KB
April 10 2024 04:58:46
root / root
0644
cvslock.pyo
8.359 KB
April 10 2024 04:58:46
root / root
0644
mac.py
0.344 KB
April 19 2020 21:13:39
root / root
0644
mac.pyc
0.584 KB
April 10 2024 04:58:46
root / root
0644
mac.pyo
0.584 KB
April 10 2024 04:58:46
root / root
0644
makechangelog.py
2.918 KB
April 10 2024 04:57:37
root / root
0755
makechangelog.pyc
3.049 KB
April 10 2024 04:58:46
root / root
0644
makechangelog.pyo
3.049 KB
April 10 2024 04:58:46
root / root
0644
rcsbump
0.728 KB
April 10 2024 04:57:37
root / root
0755
rcsclient.py
1.761 KB
April 19 2020 21:13:39
root / root
0644
rcsclient.pyc
2.051 KB
April 10 2024 04:58:46
root / root
0644
rcsclient.pyo
2.051 KB
April 10 2024 04:58:46
root / root
0644
rcslib.py
10.076 KB
April 19 2020 21:13:39
root / root
0644
rcslib.pyc
11.277 KB
April 10 2024 04:58:46
root / root
0644
rcslib.pyo
11.277 KB
April 10 2024 04:58:46
root / root
0644
rcvs
0.114 KB
April 10 2024 04:57:37
root / root
0755
rcvs.py
13.324 KB
April 10 2024 04:57:37
root / root
0755
rcvs.pyc
14.079 KB
April 10 2024 04:58:46
root / root
0644
rcvs.pyo
14.079 KB
April 10 2024 04:58:46
root / root
0644
rrcs
0.114 KB
April 10 2024 04:57:37
root / root
0755
rrcs.py
3.898 KB
April 10 2024 04:57:37
root / root
0755
rrcs.pyc
5.497 KB
April 10 2024 04:58:46
root / root
0644
rrcs.pyo
5.497 KB
April 10 2024 04:58:46
root / root
0644
security.py
1.066 KB
April 19 2020 21:13:39
root / root
0644
security.pyc
1.642 KB
April 10 2024 04:58:46
root / root
0644
security.pyo
1.642 KB
April 10 2024 04:58:46
root / root
0644
server.py
4.474 KB
April 19 2020 21:13:39
root / root
0644
server.pyc
5.831 KB
April 10 2024 04:58:46
root / root
0644
server.pyo
5.831 KB
April 10 2024 04:58:46
root / root
0644
sumtree.py
0.506 KB
April 19 2020 21:13:39
root / root
0644
sumtree.pyc
0.882 KB
April 10 2024 04:58:46
root / root
0644
sumtree.pyo
0.882 KB
April 10 2024 04:58:46
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF