public String toString() {StringBuilder s = new StringBuilder();append(s, oldRef, "CREATE"); s.append(' ');append(s, newRef, "DELETE"); s.append(' ').append(getRefName());s.append(' ').append(getResult());if (getMessage() != null) {s.append(' ').append(getMessage());}return s.toString();}

public override string ToString(){StringBuilder sb = new StringBuilder();sb.Append("TrackingRefUpdate[");sb.Append(remoteName);sb.Append(" -> ");sb.Append(localName);if (forceUpdate){sb.Append(" (forced)");}sb.Append(" ");sb.Append(oldObjectId == null ? string.Empty : oldObjectId.Abbreviate(7).Name);sb.Append("..");sb.Append(newObjectId == null ? string.Empty : newObjectId.Abbreviate(7).Name);sb.Append("]");return sb.ToString();}
