Sun, 10 Jun 2012 16:45:10 +0200
Fixed an issue in the automatic config creation of the Subversion plug-ins.
--- a/Plugins/VcsPlugins/vcsPySvn/Config.py Sun Jun 03 12:51:15 2012 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/Config.py Sun Jun 10 16:45:10 2012 +0200 @@ -7,9 +7,6 @@ Module defining configuration variables for the subversion package """ -import os - - # Available protocols for the repository URL ConfigSvnProtocols = [ 'file://', @@ -20,7 +17,7 @@ ] -DefaultConfig = os.linesep.join([ +DefaultConfig = "\n".join([ "### This file configures various client-side behaviors.", "###", "### The commented-out examples below are intended to demonstrate",
--- a/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py Sun Jun 03 12:51:15 2012 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py Sun Jun 10 16:45:10 2012 +0200 @@ -128,7 +128,7 @@ if newConfig != configList: try: f = open(config, "w") - f.write(os.linesep.join(newConfig)) + f.write("\n".join(newConfig)) f.close() except IOError: pass
--- a/Plugins/VcsPlugins/vcsSubversion/Config.py Sun Jun 03 12:51:15 2012 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/Config.py Sun Jun 10 16:45:10 2012 +0200 @@ -7,9 +7,6 @@ Module defining configuration variables for the subversion package """ -import os - - # Available protocols for the repository URL ConfigSvnProtocols = [ 'file://', @@ -20,7 +17,7 @@ ] -DefaultConfig = os.linesep.join([ +DefaultConfig = "\n".join([ "### This file configures various client-side behaviors.", "###", "### The commented-out examples below are intended to demonstrate",
--- a/Plugins/VcsPlugins/vcsSubversion/SvnUtilities.py Sun Jun 03 12:51:15 2012 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnUtilities.py Sun Jun 10 16:45:10 2012 +0200 @@ -104,7 +104,7 @@ if newConfig != configList: try: f = open(config, "w") - f.write(os.linesep.join(newConfig)) + f.write("\n".join(newConfig)) f.close() except IOError: pass