Kidson noted that the song was a Scots one, reputedly by a Robert Anderson, and further, thought that he might be missing one or more verses. He identifed Coupshawholme as a local name for Castleton.
In ABC format, here is Kidson's tune, which he took to be an old one.
T:from Kidson's Traditional Tunes
.d3/2 c/2|B3/2 E/2 F E3/2 F/2 G B3/2 A/2 B .d2 B/2 B/2|A3/2 D/2 D D3/2 E/2 D F3/2 D/2 F .A2||(d/2c/2)|B3/2 E/2 E E3/2 F/2 E B3/2 A/2 B.e2 c/2 c/2|d3/2 D/2 D D3/2 E/2 F A3/2 G/2 F E2|]