mfc-candidates: use stable/14 as default MFC-to branch

This tool is typically invoked from within a working tree containing the
desired MFC target branch, which is detected automatically.  It also has
a default for when it is invoked from elsewhere.  Switch the default to
the most recent branch, stable/14.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2024-04-22 13:54:52 -04:00
parent 7a7063cc54
commit 76a8625bc7

View File

@ -41,7 +41,7 @@ if [ "${repo}" = "ports.git" ]; then
qtr=$(((month-1) / 3 + 1))
to_branch="freebsd/${year}Q${qtr}"
elif [ "${repo}" = "src.git" ]; then
to_branch=freebsd/stable/13
to_branch=freebsd/stable/14
# If pwd is a stable or release branch tree, default to it.
cur_branch=$(git symbolic-ref --short HEAD 2>/dev/null)
case $cur_branch in