Your thread reminds of the Wild Bunch. The gang ends up in a Mexican town occupied by a pro-Huerta force, accompanied by a German military advisor. The advisor gives the Mexican general a machine gun. In the last scene the Wild Bunch fought it out with the Mexicans, mowing them down in waves with that machine gun. I think it was supposed to be symbolic of the end of the Old West.