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, Apr 22, 11:58 PM
Unknown Object (File)
Sat, Apr 19, 8:15 PM
Unknown Object (File)
Sat, Apr 19, 4:38 PM
Unknown Object (File)
Sat, Apr 19, 9:26 AM
Unknown Object (File)
Fri, Apr 18, 1:56 PM
Unknown Object (File)
Mon, Apr 14, 6:37 AM
Unknown Object (File)
Sun, Apr 13, 1:14 PM
Unknown Object (File)
Sat, Apr 12, 9:16 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