(To). To fight a duel with swords. In such cases the seconds measure the swords to see that both are of one length.
“So we measured swords and parted.” —
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Measure Swords from Infoplease: