No longer track the main branch (2nd version)
What does this MR do and why?
What
Resolve #4 (closed)
在 MR: No longer track the main branch
的基础上,仅仅增加了 commit !23 (0983b286)
diff --git a/project.py b/project.py
index 36d39f6..6d6d954 100644
--- a/project.py
+++ b/project.py
@@ -4351,7 +4351,7 @@ class ManifestProject(MetaProject):
syncbuf.Finish()
if is_new or self.CurrentBranch is None:
- if not self.StartBranch("default"):
+ if not self.StartBranch("default", self.revisionExpr):
print(
"fatal: cannot create default in manifest",
file=sys.stderr,
Why
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
See: !17 (merged)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 路志远 编辑于