According to Simpson's The British Broadside And It's Music this appeared in Pills To Purge Melancholy V, 80 and is a reworking of the Valiant Trooper (The Valiant Trooper And His pritty Peggy) which had the burden
But unconstant woman, true to no man,
Is gone and left me her bird alone
The tune quoted above is the start of the tune listed as 213 in Simpson, which is the tune from Pills
He goes on to quote "Two ballads of 1702 to the tune of "Did you not hear of a Gallant Sailor" establish the existence of the reworked "Valiant Trooper" by that date... In The Beggar's Opera and Achilles, Gay calls the tune "Did you ever hear of a gallant sailor"..."
This is under the entry for I Live Not Where I Love
Mick (mickpearceATaolDOTcom)