This happened on a poorly-surfaced remote road near Kirkliston where I got a pinch puncture on my return to Edinburgh. I was on the phone trying to organise a pick-up but was going to struggle to explain where I was exactly given I wasn't too sure so thanks to the passing cyclist who not just gave me his spare inner tube but fitted it as well. He also used one of those new-fangled cartridge thingies to inflate the tyre.
As for muggins here - I did have a spare inner, provided by the shop I purchased the bike from, but the schrader valve wouldn't fit through the rim. I didn't think that a repair of the punctured inner was possible as the nice wee pump I recently purchased from Lidl appeared not to fit presta, only to find out when I got home that it does.
I can't repay the good samaritan except to make sure to follow his example (which it is to be hoped I would do anyway).