Cecil Sharp's Note 58 (1916)
No. 58. My Boy Willie
A Yorkshire version of the words is given by Halliwell in his Popular Rhymes (p. 328); and a Scottish variant in Herd’s Scottish Songs (volume ii, p. 1). See also Baring-Gould’s A Book of Nursery Songs and Rhymes (No. 24).
The song, I imagine, is a comic derivative, or burlesque, of “Lord Rendal.”