equal
deleted
inserted
replaced
225 os.path.exists(os.path.join(url, '.svn'))) or |
225 os.path.exists(os.path.join(url, '.svn'))) or |
226 issvnurl(ui, url)): |
226 issvnurl(ui, url)): |
227 raise NoRepo(_("%s does not look like a Subversion repository") |
227 raise NoRepo(_("%s does not look like a Subversion repository") |
228 % url) |
228 % url) |
229 if svn is None: |
229 if svn is None: |
230 raise MissingTool(_('Could not load Subversion python bindings')) |
230 raise MissingTool(_('could not load Subversion python bindings')) |
231 |
231 |
232 try: |
232 try: |
233 version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR |
233 version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR |
234 if version < (1, 4): |
234 if version < (1, 4): |
235 raise MissingTool(_('Subversion python bindings %d.%d found, ' |
235 raise MissingTool(_('Subversion python bindings %d.%d found, ' |