def init(vcs):
    """Initialize the locking module for a repository
    """
    path = os.path.join(vcs.private_dir(), 'locks')
    if not os.path.exists(path):
        os.mkdir(path)
Initialize the locking module for a repository