Skip to content

No longer track the main branch (2nd version)

路志远请求将update-start-cmd-about-track2合并到main-jh

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

See #4 (comment 2703228)

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.

路志远 编辑于

合并请求报告