File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,6 @@ def make_repo_script_list(self) -> list[str]:
182182 """
183183 specs = self .instance ["setup" ]
184184 repo = self .instance ["repo" ]
185- env_setup_commit = self .instance ["reference_commit" ]
186185 version = int (str (specs ["python" ]).split ("." )[- 1 ])
187186 if version < 7 :
188187 specs ["python" ] = 3.7
@@ -191,7 +190,6 @@ def make_repo_script_list(self) -> list[str]:
191190 f"git clone -o origin https://github.com/{ repo } { self .repo_directory } " ,
192191 f"chmod -R 777 { self .repo_directory } " , # So nonroot user can run tests
193192 f"cd { self .repo_directory } " ,
194- f"git reset --hard { env_setup_commit } " ,
195193 # Remove the remote so the agent won't see newer commits.
196194 "git remote remove origin" ,
197195 f"uv venv --python { specs ['python' ]} " ,
You can’t perform that action at this time.
0 commit comments