+ echo "* Base is newer than head! Please run \`$tg update\`."
+
+if has_remote "$name"; then
+ echo "Remote Mate: $base_remote/$name"
+ branch_contains "$base_rev" "refs/remotes/$base_remote/top-bases/$name" ||
+ echo "* Local base is out of date wrt. the remote base."
+ branch_contains "$name" "refs/remotes/$base_remote/$name" ||
+ echo "* Local head is out of date wrt. the remote head."
+ branch_contains "refs/remotes/$base_remote/$name" "$name" ||
+ echo "* Local head is ahead of the remote head."
+fi