php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /usr/lib/python2.6/site-packages/svn/ |
files >> //usr/lib/python2.6/site-packages/svn/ra.pyo |
Uc @ sT d d k Td d k l Z e e d e e d [ d d d YZ d S( i( t *( t _unprefix_namest svn_ra_t SVN_RA_t Callbacksc B sD e Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z RS( s Base class for callbacks structure for svn.ra.open2. Ra users may pass an instance of this class as is to svn.ra.open2 for some simple operations: as long as authentication is not required, auth_baton may be None, and some ra implementations do not use open_tmp_file at all. These are not guarantees, however, and all but the simplest scripts should fill even these in. The wc_prop slots, on the other hand, are only necessary for commits and updates, and progress_func and cancel_func are always optional. A simple example: class Callbacks(svn.ra.Callbacks): def __init__(self, wc, username, password): self.wc = wc self.auth_baton = svn.core.svn_auth_open([ svn.client.get_simple_provider(), svn.client.get_username_provider(), ]) svn.core.svn_auth_set_parameter(self.auth_baton, svn.core.SVN_AUTH_PARAM_DEFAULT_USERNAME, username) svn.core.svn_auth_set_parameter(self.auth_baton, svn.core.SVN_AUTH_PARAM_DEFAULT_PASSWORD, password) def open_tmp_file(self, pool): path = '/'.join([self.wc, svn.wc.get_adm_dir(pool), 'tmp']) (fd, fn) = tempfile.mkstemp(dir=path) os.close(fd) return fn def cancel_func(self): if some_condition(): return svn.core.SVN_ERR_CANCELLED return 0 N( t __name__t __module__t __doc__t Nonet open_tmp_filet auth_batont get_wc_propt set_wc_propt push_wc_propt invalidate_wc_propst progress_funct cancel_funct get_client_string( ( ( s* /usr/lib/python2.6/site-packages/svn/ra.pyR s $N( ( t libsvn.rat svn.coreR t localsR ( ( ( s* /usr/lib/python2.6/site-packages/svn/ra.pyt <module> sy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`