???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
¿œ^c           @   sk   d  Z  d d l Z d d l Z d Z d Z d Z d Z d d l Z d e j f d „  ƒ  YZ	 g  d	 „ Z
 d S(
   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.nli  i   i    t   RCSProxyClientc           B   s   e  Z e j d  „ Z RS(   c         C   s   t  j j |  | | ƒ d  S(   N(   t   clientt   SecureClientt   __init__(   t   selft   addresst   verbose(    (    s,   /usr/lib64/python2.7/Demo/pdist/rcsclient.pyR      s    (   t   __name__t
   __module__R   t   VERBOSER   (    (    (    s,   /usr/lib64/python2.7/Demo/pdist/rcsclient.pyR       s   c         C   sÓ  d d l  } t } t } t } t } d } xñ |  D]é \ } } | d k r¤ | } d | k r¤ t j | d ƒ }	 | |	  | |	 d } }
 |
 r¡ t j |
 ƒ } q¡ q¤ n  | d k rÂ t j | ƒ } n  | d k r× | } n  | d k rð | d } n  | d	 k rd
 } n  | d k r1 d } q1 q1 W| r?d d l  } | j	 ƒ  } n | | f } t
 | | ƒ } | s¹y% t t j j d d ƒ ƒ j ƒ  } Wn t k
 r˜q¹X| d d k r¹| d  } q¹n  | rÏ| j | ƒ n  | S(   sE   open an RCSProxy client based on a list of options returned by getoptiÿÿÿÿNs   -ht   :i   s   -ps   -ds   -vs   -qi    s   -Lt   CVSt
   Repositorys   
(   t   RCSProxyt   HOSTt   PORTR	   t   LOCALt   Nonet   stringt   findt   atoit   RCSProxyLocalR    t   opent   ost   patht   joint   readlinet   IOErrort   cd(   t   optsR   t   hostt   portR   t   localt	   directoryt   ot   at   it   pt   xR   (    (    s,   /usr/lib64/python2.7/Demo/pdist/rcsclient.pyt   openrcsclient   sN    		%(   t   __doc__R   R   R   R   R	   R   R   R   R    R'   (    (    (    s,   /usr/lib64/python2.7/Demo/pdist/rcsclient.pyt   <module>   s   