diff options
author | Justin Clark-Casey (justincc) | 2010-10-16 05:38:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-10-16 05:38:44 +0100 |
commit | e41b23a1a4bef55d31f75e1227834da84cbd971a (patch) | |
tree | cf0a44403f242cd1aab6beee900e71e73fe0eff0 /OpenSim/Region/Application/OpenSim.cs | |
parent | Have OpenSim throw a strop if it tries to load an OAR with a major version th... (diff) | |
download | opensim-SC_OLD-e41b23a1a4bef55d31f75e1227834da84cbd971a.zip opensim-SC_OLD-e41b23a1a4bef55d31f75e1227834da84cbd971a.tar.gz opensim-SC_OLD-e41b23a1a4bef55d31f75e1227834da84cbd971a.tar.bz2 opensim-SC_OLD-e41b23a1a4bef55d31f75e1227834da84cbd971a.tar.xz |
change --old-guids switch on the save oar command line to --version=<x>
if x is 0, then an old version 0.3 archive is saved. If it is anything else or missing, then a version 1.0 archive is saved
version 1.0 archives cannot be loaded on OpenSim 0.7.0.2 and earlier
also add various informational notices about what version we've saving/loading
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 0c6f476..66ffd76 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -264,11 +264,11 @@ namespace OpenSim | |||
264 | LoadOar); | 264 | LoadOar); |
265 | 265 | ||
266 | m_console.Commands.AddCommand("region", false, "save oar", | 266 | m_console.Commands.AddCommand("region", false, "save oar", |
267 | "save oar [--old-guids] [<OAR path>]", | 267 | "save oar [--version=<version>] [<OAR path>]", |
268 | "Save a region's data to an OAR archive.", | 268 | "Save a region's data to an OAR archive.", |
269 | "The OAR path must be a filesystem path." | 269 | "The OAR path must be a filesystem path." |
270 | + " If this is not given then the oar is saved to region.oar in the current directory." + Environment.NewLine | 270 | + " If this is not given then the oar is saved to region.oar in the current directory." + Environment.NewLine |
271 | + "--old-guids produces OARs compatible with older (pre 0.7.1) OpenSim versions.", | 271 | + "--version=0 produces old version 0.3 OARs that are compatible with OpenSim 0.7.0.2 and earlier. Current OAR version is 1.0. This version of OpenSim can load any OAR later than version 0.3", |
272 | SaveOar); | 272 | SaveOar); |
273 | 273 | ||
274 | m_console.Commands.AddCommand("region", false, "edit scale", | 274 | m_console.Commands.AddCommand("region", false, "edit scale", |