Jeans were almost invented for this kind of thing. I'll always cringe at the idea of wearing them wet though—
"Looking to provide its sailors with durable clothing that could be worn wet or dry, the navy began in the 16th century to equip sailors with Genoese-produced denim jeans, and in doing so became one of the driving forces behind the adoption of the clothing" https://en.wikipedia.org/wiki/Genoese_navy
"Looking to provide its sailors with durable clothing that could be worn wet or dry, the navy began in the 16th century to equip sailors with Genoese-produced denim jeans, and in doing so became one of the driving forces behind the adoption of the clothing" https://en.wikipedia.org/wiki/Genoese_navy