@@ -160,17 +160,17 @@ def submit_to_try(self, library, platform_filter, recursed=0):
160160 platform_filter_args = ["--tasks-regex" , platform_filter ]
161161
162162 if library .try_preset :
163- try_arguments = ["./mach" , "try" , "--update" , "--preset" , library .try_preset ]
163+ try_arguments = ["./mach" , "try" , "--update" , "--preset" , "--push-to-vcs" , library .try_preset ]
164164 elif library .fuzzy_query or library .fuzzy_paths :
165- try_arguments = ["./mach" , "try" , "fuzzy" , "--update" ]
165+ try_arguments = ["./mach" , "try" , "fuzzy" , "--push-to-vcs" , "-- update" ]
166166 if library .fuzzy_query :
167167 try_arguments += ["--query" , library .fuzzy_query + " " + (platform_filter or "" )]
168168 else : # If you don't give a --query it goes into interactive mode
169169 try_arguments += ["--query" , " " + (platform_filter or "" )]
170170 if library .fuzzy_paths :
171171 try_arguments += library .fuzzy_paths
172172 else :
173- try_arguments = ["./mach" , "try" , "auto" ] + platform_filter_args
173+ try_arguments = ["./mach" , "try" , "auto" , "--push-to-vcs" ] + platform_filter_args
174174
175175 ret = self .run (try_arguments , clean_return = True )
176176 output = ret .stdout .decode ()
0 commit comments