ó ¿œ^c@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|d kr1d}q1q1W|r?ddl}|j ƒ} n||f} t | |ƒ} |s¹y%t t 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.pyts