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
F151312198: D35096.id105554.diff
Tue, Apr 7, 12:42 PM
F151262502: D35096.id105554.diff
Tue, Apr 7, 4:42 AM
F151236325: D35096.id105549.diff
Tue, Apr 7, 1:10 AM
Unknown Object (File)
Mon, Apr 6, 1:30 PM
Unknown Object (File)
Sat, Apr 4, 7:50 PM
Unknown Object (File)
Sat, Apr 4, 7:09 AM
Unknown Object (File)
Sat, Apr 4, 12:10 AM
Unknown Object (File)
Fri, Mar 27, 11:27 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