Page MenuHomeFreeBSD

mfc-candidates.sh: Set default to_branch for ports
ClosedPublic

Authored by jrm on Apr 29 2022, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 6:32 AM
Unknown Object (File)
Mar 17 2024, 9:24 PM
Unknown Object (File)
Mar 17 2024, 9:24 PM
Unknown Object (File)
Mar 17 2024, 9:20 PM
Unknown Object (File)
Mar 17 2024, 9:20 PM
Unknown Object (File)
Feb 17 2024, 11:27 PM
Unknown Object (File)
Jan 14 2024, 8:56 AM
Unknown Object (File)
Jan 3 2024, 10:43 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrm requested review of this revision.Apr 29 2022, 4:38 PM
tools/tools/git/mfc-candidates.sh
32–33

I think you could move this into the src "else" case below now.
I'm not sure if there is a suitable default is for ports, but it's definitely not stable/13 :)

36

Maybe 2>/dev/null in case it's run where there is no "freebsd" remote?

  • Set default to_branch under each if clause
  • Send unwanted error output to /dev/null
  • Bail if pwd is not under a ports or src repository
jrm marked 2 inline comments as done.Apr 29 2022, 5:18 PM
This revision is now accepted and ready to land.May 4 2022, 6:35 PM