- #1423 sync vs. push, pull, merge collision avoidance.
This commit is contained in:
Paul Beckingham 2013-11-03 12:04:21 -05:00
parent 56d8734e1a
commit 8c9bc99af6
7 changed files with 13 additions and 13 deletions

View file

@ -168,7 +168,7 @@ int CmdShow::execute (std::string& output)
" list.all.tags"
" locale"
" locking"
" merge.autopush"
" merge.autopush" // Deprecated 2.3.0
" merge.default.uri" // Deprecated 2.3.0
" monthsperline"
" nag"
@ -300,19 +300,7 @@ int CmdShow::execute (std::string& output)
color = warning;
}
// TODO Deprecated.
std::string value = i->second;
// 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))
{
Uri uri (value);
uri.parse ();
value = uri.ToString ();
}
int row = view.addRow ();
view.set (row, 0, i->first, color);
view.set (row, 1, value, color);