hgext/convert/subversion.py
changeset 16925 eaf6a6d7f015
parent 16689 f366d4c2ff34
child 17031 f17b561cc473
equal deleted inserted replaced
16924:21b12b22c024 16925:eaf6a6d7f015
   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, '