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)
Tue, Nov 19, 2:04 PM
Unknown Object (File)
Fri, Nov 15, 2:51 AM
Unknown Object (File)
Nov 8 2024, 3:05 AM
Unknown Object (File)
Nov 5 2024, 3:57 AM
Unknown Object (File)
Oct 14 2024, 10:14 PM
Unknown Object (File)
Sep 17 2024, 2:46 AM
Unknown Object (File)
Sep 15 2024, 10:40 PM
Unknown Object (File)
Sep 10 2024, 2:46 AM
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