Deprecation

- Properly marked more deprecated items.
This commit is contained in:
Paul Beckingham 2013-09-11 00:58:47 -04:00
parent 0f416a9f01
commit 55cd425ff4
2 changed files with 7 additions and 9 deletions

View file

@ -5,9 +5,6 @@ Calendar trick
Metadata
Sync
push
pull
merge
sync (needs 2.3.0 & task server)
Logo?

View file

@ -234,9 +234,9 @@ int CmdShow::execute (std::string& output)
i->first.substr (0, 7) != "report." &&
i->first.substr (0, 6) != "alias." &&
i->first.substr (0, 5) != "hook." &&
i->first.substr (0, 5) != "push." &&
i->first.substr (0, 5) != "pull." &&
i->first.substr (0, 6) != "merge." &&
i->first.substr (0, 5) != "push." && // Deprecated 2.3.0
i->first.substr (0, 5) != "pull." && // Deprecated 2.3.0
i->first.substr (0, 6) != "merge." && // Deprecated 2.3.0
i->first.substr (0, 4) != "uda." &&
i->first.substr (0, 4) != "default." &&
i->first.substr (0, 21) != "urgency.user.project." &&
@ -302,8 +302,9 @@ int CmdShow::execute (std::string& output)
// hide sensible information
if ((i->first.substr (0, 5) == "push." ||
i->first.substr (0, 5) == "pull." ||
i->first.substr (0, 6) == "merge.") && (i->first.find (".uri") != std::string::npos) ) {
i->first.substr (0, 6) == "merge.") &&
(i->first.find (".uri") != std::string::npos))
{
Uri uri (value);
uri.parse ();
value = uri.ToString ();