Skip to content

Commit 0f5046c

Browse files
committed
fix update import command
1 parent 1a59eae commit 0f5046c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,9 +1548,10 @@ def update_import(name, suite_py, args):
15481548
rev = args.graal_rev
15491549
elif repo_name == "graal-enterprise" and args.graal_enterprise_rev:
15501550
rev = args.graal_enterprise_rev
1551-
elif idx or not args.no_pull:
1551+
elif args.no_pull:
15521552
rev = "HEAD"
15531553
else:
1554+
vc.pull(dep_dir)
15541555
rev = "origin/master"
15551556
vc.update(dep_dir, rev=rev, mayPull=True)
15561557
tip = str(vc.tip(dep_dir)).strip()

0 commit comments

Comments
 (0)