File: //lib/python2.7/dist-packages/svn/repos.pyc
�
Lr}bc @ s d d l Td d l m Z m Z e e � d � e e � d � e d � e � j � � Z [ d d l j Z d d l
j Z d d l
j Z d Z d Z d Z d
Z d d d � � YZ d
e j f d � � YZ d e f d � � YZ d d d � � YZ d d � Z d S( i����( t *( t _unprefix_namest Poolt
svn_repos_t
SVN_REPOS_c C s | j � j d � S( Nt svn_( t lowert
startswith( t x( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyt <lambda> t Ni i i i t ChangedPathc B s2 e Z d d d d d d d d g Z d d � Z RS(
t item_kindt prop_changest text_changedt base_patht base_revt patht addedt actionc C sv | | _ | | _ | | _ | | _ | | _ | | _ | d t t t t
g k r` t d � � n | | _ | | _
d S( Ns unsupported change type( R R
R R R R t Nonet CHANGE_ACTION_MODIFYt CHANGE_ACTION_ADDt CHANGE_ACTION_DELETEt CHANGE_ACTION_REPLACEt ExceptionR R ( t selfR R
R R R R R R ( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyt __init__0 s N( t __name__t
__module__t __slots__R R ( ( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyR , s t ChangeCollectorc B s� e Z d Z d d d � Z d � Z d � Z d � Z d � Z d � Z d d � Z
d d � Z d d � Z d d
� Z
d d � Z d d � Z d d
� Z d � Z d d � Z d � Z d � Z RS( s� An editor that, when driven, walks a revision or a transaction and
incrementally invokes a callback with ChangedPath instances corresponding to
paths changed in that revision.
Available Since: 1.2.0
c C s� | | _ i | _ i | _ | | _ i | _ | | _ t j | j � r� t j | j � } | d | _ t j
| j | � | _ nK t j | j � } t j | j | � } t j
| � | _ t j | � | _ d S( s� Construct a walker over the svn_fs_root_t ROOT, which must
be in the svn_fs_t FS_PTR. Invoke NOTIFY_CB with a single argument
of type ChangedPath for each change under ROOT.
At this time, two ChangedPath objects will be passed for a path that had
been replaced in the revision/transaction. This may change in the future.
### Can't we deduce FS_PTR from ROOT?
### POOL is unused
i N( t fs_ptrt changest rootst notify_cbt propst fs_roott _svnfst is_revision_roott revision_root_revisionR t revision_proplistt
txn_root_namet open_txnt txn_base_revisiont txn_proplist( R R t roott poolR# t revt txn_namet txn_t( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyR U s
c C s | j S( N( R$ ( R ( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyt get_root_propst s c C s | j S( N( R! ( R ( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyt get_changesw s c C s8 | j r4 | j j | � } | r4 | j | � q4 n d S( N( R# R! t get( R R t change( ( s- /usr/lib/python2.7/dist-packages/svn/repos.pyt _send_changez s c C sF | j d � } | r"