It is my suposition that the Shanty General Taylor is a version of Mr. Stormalong as
sung by deserters, mostly Irish, who had been in the Americal military but fought on the side of Mexico in the Mexican American war. They were known as St. Patrick's Battallion or the San Patricios.
Nick