Your IP : 3.147.57.161


Current Path : /lib64/python2.7/Demo/pdist/
Upload File :
Current File : //lib64/python2.7/Demo/pdist/rcsclient.pyc

�
V
�Qc@skdZddlZddlZdZdZdZdZddlZdejfd��YZ	gd	�Z
dS(
s�Customize this file to change the default client etc.

(In general, it is probably be better to make local operation the
default and to require something like an RCSSERVER environment
variable to enable remote operation.)

i����Nsvoorn.cwi.nliiitRCSProxyClientcBseZejd�ZRS(cCstjj|||�dS(N(tclienttSecureClientt__init__(tselftaddresstverbose((s,/usr/lib64/python2.7/Demo/pdist/rcsclient.pyRs(t__name__t
__module__RtVERBOSER(((s,/usr/lib64/python2.7/Demo/pdist/rcsclient.pyRsc
Cs�ddl}t}t}t}t}d}x�|D]�\}}|dkr�|}d|kr�tj|d�}	||	 ||	d}}
|
r�tj|
�}q�q�n|dkr�tj|�}n|dkr�|}n|dkr�|d}n|d	krd
}n|dkr1d}q1q1W|r?ddl}|j	�}n||f}t
||�}|s�y%ttj
jdd
��j�}Wntk
r�q�X|ddkr�|d }q�n|r�|j|�n|S(sEopen an RCSProxy client based on a list of options returned by getopti����Ns-ht:is-ps-ds-vs-qis-LtCVSt
Repositorys
(tRCSProxytHOSTtPORTR	tLOCALtNonetstringtfindtatoit
RCSProxyLocalRtopentostpathtjointreadlinetIOErrortcd(
toptsR
thosttportRtlocalt	directorytotatitptxR((s,/usr/lib64/python2.7/Demo/pdist/rcsclient.pyt
openrcsclientsN	
	
%
(t__doc__RRRRR	RRRRR'(((s,/usr/lib64/python2.7/Demo/pdist/rcsclient.pyt<module>s