bae333de06c2 Move repo set up to separate function.

Authored and Committed by samwwwblack a year ago
    Move repo set up to separate function.
    
        
file modified
+18 -9