Example #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')
Example #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')
Example #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)