Update svn properties, formatting cleanup.
parent
3e1441afe1
commit
fae34bb10c
|
@ -102,11 +102,15 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
private void SetupSerialiser()
|
||||
{
|
||||
if (m_serialiser.Count == 0)
|
||||
{
|
||||
foreach (UUID region in m_scenes.Keys)
|
||||
{
|
||||
m_serialiser.Add(region,
|
||||
m_scenes[region].RequestModuleInterface<IRegionSerialiser>()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
|
@ -177,7 +181,6 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
XmlDocument doc = new XmlDocument();
|
||||
XmlNode rootNode;
|
||||
|
||||
|
||||
m_log.Info("[FSDB]: Checking if " + filename + " exists.");
|
||||
if (File.Exists(filename))
|
||||
{
|
||||
|
@ -191,7 +194,9 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
rootNode = doc.FirstChild;
|
||||
|
||||
foreach (XmlNode aPrimNode in rootNode.ChildNodes)
|
||||
{
|
||||
xmlList.Add(aPrimNode.OuterXml);
|
||||
}
|
||||
|
||||
x.Stop();
|
||||
TimeToDownload += x.ElapsedMilliseconds;
|
||||
|
@ -226,7 +231,8 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
String logLocation = "";
|
||||
foreach (string revisionDir in directories)
|
||||
{
|
||||
try {
|
||||
try
|
||||
{
|
||||
logLocation = revisionDir + Slash.DirectorySeparatorChar + "log";
|
||||
fs = new FileStream( logLocation, FileMode.Open);
|
||||
sr = new StreamReader(fs);
|
||||
|
@ -236,7 +242,8 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
revisionDict.Add(revisionDir, logMessage);
|
||||
}
|
||||
catch (Exception)
|
||||
{}
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
return revisionDict;
|
||||
|
|
Loading…
Reference in New Issue