equal
deleted
inserted
replaced
79 self.client.config = svn_config |
79 self.client.config = svn_config |
80 try: |
80 try: |
81 self.ra = svn.client.open_ra_session( |
81 self.ra = svn.client.open_ra_session( |
82 self.svn_url.encode('utf8'), |
82 self.svn_url.encode('utf8'), |
83 self.client, self.pool) |
83 self.client, self.pool) |
84 except SubversionException, (_, num): |
84 except SubversionException, (inst, num): |
85 if num in (svn.core.SVN_ERR_RA_ILLEGAL_URL, |
85 if num in (svn.core.SVN_ERR_RA_ILLEGAL_URL, |
86 svn.core.SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED, |
86 svn.core.SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED, |
87 svn.core.SVN_ERR_BAD_URL): |
87 svn.core.SVN_ERR_BAD_URL): |
88 raise NotBranchError(url) |
88 raise NotBranchError(url) |
89 raise |
89 raise |