mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-04 18:23:05 +00:00
The previous `||` treated every fetch failure as a missing branch, so a transient network or auth error on a base that does exist in frappe would silently substitute develop and report Patch Test results against the wrong revision. Probe with `ls-remote --exit-code` instead: exit 2 means no matching ref, so fall back; any other non-zero status is a real failure and is re-raised.
6.6 KiB
6.6 KiB