Skip to content

Commit 4b2c216

Browse files
committed
Also update index if '--pull' is specified.
1 parent 3f33e6f commit 4b2c216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ def update_hpy_import_cmd(args):
17891789
if parsed_args.pull:
17901790
if not vc_git.is_this_vc(hpy_repo_path):
17911791
mx.abort("Cannot perform pull for HPy repo because {} is not a valid Git repo.".format(hpy_repo_path))
1792-
vc_git.pull(hpy_repo_path)
1792+
vc_git.pull(hpy_repo_path, update=True)
17931793

17941794
# determine short revision of HPy
17951795
import_version = vc_git.git_command(hpy_repo_path, ["rev-parse", "--short", "HEAD"])

0 commit comments

Comments
 (0)