changeset 8221:f35b933044cc

convert: hide svn deprecation warnings
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
date Mon, 27 Apr 2009 12:02:16 +0200
parents 6e6ebeb52899
children d30a21594812
files hgext/convert/subversion.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Mon Apr 27 10:33:57 2009 +0200
+++ b/hgext/convert/subversion.py	Mon Apr 27 12:02:16 2009 +0200
@@ -43,6 +43,11 @@
     import svn.ra
     import svn.delta
     import transport
+    import warnings
+    warnings.filterwarnings('ignore',
+            module='svn.core',
+            category=DeprecationWarning)
+
 except ImportError:
     pass