ソースを参照

Support --remote in new_proposal script with jj (#6903)

Dana Jansens 1 ヶ月 前
コミット
5d1973ab93
1 ファイル変更10 行追加0 行削除
  1. 10 0
      proposals/scripts/new_proposal.py

+ 10 - 0
proposals/scripts/new_proposal.py

@@ -194,6 +194,16 @@ def main() -> None:
         assert jj_bin  # For mypy.
         _run([jj_bin, "new", parsed_args.branch_start_point])
         _run([jj_bin, "bookmark", "create", branch])
+        _run(
+            [
+                jj_bin,
+                "bookmark",
+                "track",
+                branch,
+                "--remote",
+                parsed_args.remote,
+            ]
+        )
 
     # Copy template.md to a temp file.
     template_path = "proposals/scripts/template.md"