File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2411,9 +2411,7 @@ def _CheckForImmutableRevision(self):
2411
2411
# throws an error.
2412
2412
revs = [f"{ self .revisionExpr } ^0" ]
2413
2413
upstream_rev = None
2414
-
2415
- # Only check upstream when using superproject.
2416
- if self .upstream and self .use_superproject :
2414
+ if self .upstream :
2417
2415
upstream_rev = self .GetRemote ().ToLocal (self .upstream )
2418
2416
revs .append (upstream_rev )
2419
2417
@@ -2425,9 +2423,7 @@ def _CheckForImmutableRevision(self):
2425
2423
log_as_error = False ,
2426
2424
)
2427
2425
2428
- # Only verify upstream relationship for superproject scenarios
2429
- # without affecting plain usage.
2430
- if self .upstream and self .use_superproject :
2426
+ if self .upstream :
2431
2427
self .bare_git .merge_base (
2432
2428
"--is-ancestor" ,
2433
2429
self .revisionExpr ,
You can’t perform that action at this time.
0 commit comments