def init_repo(path):
 sh(('git clone %s %s' % (pages_repo, path)))
 here = os.getcwdu()
 cd(path)
 sh('git checkout gh-pages')
 cd(here)

def init_repo ( path ) : sh ( ( 'git clone %s %s' % ( pages_repo , path ) ) ) here = os . getcwdu ( ) cd ( path ) sh ( 'git checkout gh-pages' ) cd ( here )
create the git bare repository for bup in a given path .