To have a drink together. Presumably comes from the practice of tending to a ship's damaged gear immediately after battle. One of the first chores was to repair sails and braces (lines passing through blocks that held up the sails). It was the custom, after the main braces were properly spliced, to serve grog to the crew. This term thus came to refer to having a drink after a hard day's work.