changeset 971:77b22e5b4ea6 1.5

svn_swig_wrapper: Ensure subversion config files We will create a subversion config file if it does not exist. Currently, svn_config_ensure() exists only swig.
author Mitsuhiro Koga <shiena.jp@gmail.com>
date Mon, 29 Oct 2012 20:16:19 +0900
parents 3e59f9af15b0
children 109c412ecf12
files hgsubversion/svnwrap/svn_swig_wrapper.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/svn_swig_wrapper.py
+++ b/hgsubversion/svnwrap/svn_swig_wrapper.py
@@ -61,6 +61,7 @@ def optrev(revnum):
     optrev.value.number = revnum
     return optrev
 
+core.svn_config_ensure(None)
 svn_config = core.svn_config_get_config(None)
 class RaCallbacks(ra.Callbacks):
     @staticmethod