Mercurial > hg
comparison hgext/convert/subversion.py @ 16925:eaf6a6d7f015
convert: lowercase status and abort messages
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 12 Jun 2012 14:18:18 +0200 |
parents | f366d4c2ff34 |
children | f17b561cc473 |
comparison
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, ' |