qnli question: How many weeks did Mexican partisans hold San Diego before it was recaptured by Americans? sentence: Following the successful revolt in Los Angeles, the American garrison at San Diego was driven out without firing a shot in early October 1846.