"The Battle of Prestonpans" in DT file TRANMUI2 is that in Hogg's 'Jacobite Relics', II, #62, 1821. The same text (except 'shit' in the 5th verse is expurgated) is called "Tranet Muir" in 'The Scots Musical Museum', #102, 1788. the tune in both cases is "Gillikrankie" (Killikrankie).