aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-28 00:35:10 +0000
committerJeff Ames2008-05-28 00:35:10 +0000
commitefeba85662dccff77062fe5b7f83c93f1bcc16ee (patch)
tree54df78a350a1e88bf409e8bc7879222ccb9c0406 /OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs
parentUpdate svn properties. Fix inconsistent newlines. (diff)
downloadopensim-SC-efeba85662dccff77062fe5b7f83c93f1bcc16ee.zip
opensim-SC-efeba85662dccff77062fe5b7f83c93f1bcc16ee.tar.gz
opensim-SC-efeba85662dccff77062fe5b7f83c93f1bcc16ee.tar.bz2
opensim-SC-efeba85662dccff77062fe5b7f83c93f1bcc16ee.tar.xz
Change a couple Windows directory separators in SVN module to be platform agnostic.
Diffstat (limited to 'OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs')
-rw-r--r--OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs
index 5691d59..8f314b1 100644
--- a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs
+++ b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs
@@ -53,7 +53,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
53 private IRegionSerialiser m_serialiser; 53 private IRegionSerialiser m_serialiser;
54 private bool m_svnAutoSave = false; 54 private bool m_svnAutoSave = false;
55 private SvnClient m_svnClient; 55 private SvnClient m_svnClient;
56 private string m_svndir = "SVNmodule\\repo"; 56 private string m_svndir = "SVNmodule" + Slash.DirectorySeparatorChar + "repo";
57 private string m_svnpass = "password"; 57 private string m_svnpass = "password";
58 58
59 private TimeSpan m_svnperiod = new TimeSpan(0, 0, 15, 0, 0); 59 private TimeSpan m_svnperiod = new TimeSpan(0, 0, 15, 0, 0);
@@ -96,7 +96,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
96 { 96 {
97 m_log.Info("[SVNBACKUP]: Saving a region to SVN with name " + scene.RegionInfo.RegionName); 97 m_log.Info("[SVNBACKUP]: Saving a region to SVN with name " + scene.RegionInfo.RegionName);
98 98
99 List<string> filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + "\\"); 99 List<string> filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + Slash.DirectorySeparatorChar);
100 100
101 try 101 try
102 { 102 {