71. A sentence of detention passed by a court martial or a commanding officer on any person shall be executed by causing that person to undergo the term of his detention in detention barracks or in military custody or partly in one way and partly in the other, but not in a prison. *Execution of sentence of detention.*