Skip to content

Commit fcccf49

Browse files
committed
optional push
1 parent 65ad358 commit fcccf49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,9 @@ def import_python_sources(args):
857857
_suite.vc.git_command(_suite.dir, ["add", "."])
858858
raw_input("Check that the updated files look as intended, then press RETURN...")
859859
_suite.vc.commit(_suite.dir, "Update Python inlined files: %s" % import_version)
860-
_suite.vc.git_command(_suite.dir, ["push", "origin", "python-import:python-import"])
860+
answer = raw_input("Should we push python-import (y/N)? ")
861+
if answer and answer in "Yy":
862+
_suite.vc.git_command(_suite.dir, ["push", "origin", "python-import:python-import"])
861863
_suite.vc.update(_suite.dir, rev=tip)
862864
_suite.vc.git_command(_suite.dir, ["merge", "python-import"])
863865

0 commit comments

Comments
 (0)