Deprecated Features

- Marked the push/pull/merge features as deprecated.
This commit is contained in:
Paul Beckingham
2013-09-10 22:52:38 -04:00
parent bcc9eb3d7a
commit e441b8ca8e
7 changed files with 22 additions and 5 deletions

View File

@@ -149,8 +149,14 @@ std::string legacyCheckForDeprecatedVariables ()
it->first.substr (it->first.length () - 12) == ".annotations")
deprecated.push_back (it->first);
if (it->first == "echo.command" ||
it->first == "edit.verbose" ||
// {push,pull,merge}.uri Deprecated in 2.3.0
if ((it->first.substr (0, 5) == "push." ||
it->first.substr (0, 5) == "pull." ||
it->first.substr (0, 6) == "merge.") && (it->first.find (".uri") != std::string::npos))
deprecated.push_back (it->first);
if (it->first == "echo.command" || // Deprecated in 2.0.0
it->first == "edit.verbose" || // Deprecated in 2.0.0
it->first == "next" ||
it->first == "annotations" ||
it->first == "export.ical.class")