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
F137668030: D35096.id105683.diff
Mon, Nov 24, 8:34 PM
F137668027: D35096.id105549.diff
Mon, Nov 24, 8:34 PM
F137668024: D35096.id105553.diff
Mon, Nov 24, 8:34 PM
F137668019: D35096.id105554.diff
Mon, Nov 24, 8:34 PM
F137668017: D35096.id.diff
Mon, Nov 24, 8:34 PM
F137668014: D35096.id105550.diff
Mon, Nov 24, 8:34 PM
F137668015: D35096.id105552.diff
Mon, Nov 24, 8:34 PM
F137667722: D35096.diff
Mon, Nov 24, 8:33 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