//print(rname);
// we should always have a local version of it.
if (branches.has_key(lname)) {
branches.get(lname).remote = rname;
//print(rname);
// we should always have a local version of it.
if (branches.has_key(lname)) {
branches.get(lname).remote = rname;