Stan Hugill writes:

This is in the vein of the sad, sentimental songs prevalent ashore in England in Queen Victoria's reign. According to my mother, my grandfather - a ship-s carpenter - would sing this heartstring-pulling dinner after every Christmas dinner.