Exemplo n.º 1
0
def get(repository_path, vss_project_path, local_path, ss_path=None):
    """
    Get a read-only copy of a VSS project into the specified local directory.

    Return the standard output.
    """

    vss = VSS(repository_path, ss_path)

    return vss.get(vss_project_path, recursive=True, get_folder=local_path, output='error', ignore='all')
Exemplo n.º 2
0
def checkout(repository_path, vss_project_path, local_path, ss_path=None):
    """
    Check out a VSS project to the specified local directory.

    Return the standard output.
    """

    vss = VSS(repository_path, ss_path)

    return vss.checkout(vss_project_path, recursive=True, get_folder=local_path, output='error')
Exemplo n.º 3
0
def checkin(repository_path, vss_project_path, local_path, ss_path=None):
    """
    Check in a VSS project from the specified local directory.

    Return the standard output.
    """

    vss = VSS(repository_path, ss_path)

    return vss.checkin(vss_project_path, recursive=True, get_folder=local_path, output='error', comment_no_text=True)