VCP::Utils::vss(3p)

NAME
VCP::Utils::vss - utilities for dealing with the vss command

SYNOPSIS
   use VCP::Utils::vss ;

DESCRIPTION
A mix-in class providing methods shared by VCP::Source::vss and VCP::Dest::vss, mostly wrappers for calling the vss command.

METHODS

ssdir
    The location of the VSS database, if set in either the SSDIR environment variable or in the source or destination specification.

ssuser
    The location of the VSS database, if set in either the SSUSER environment variable or in the source or destination specification.

ss  Calls the vss command with the appropriate vssroot option.

    TODO: See if we can use two different users to do vss->vss. Not sure if VSS sets the cp and workfold per machine or per user.

throw_undocheckout_and_retry
    This is called from the stderr_filter for SS.EXE commands that emit a "File ... is checked out by ..." message so that VCP can issue an undocheckout command and retry, like the Recover command.

ss_cp
        $self->ss_cp( $project );

    Changes to a new current project, does not change projects if this is the current project.

parse_vss_repo_spec
    parse repo_spec by calling parse_repo_spec, then set the repo_id.

create_vss_workspace
    Creates a temporary directory.

get_vss_file_list
    Retrieves a list of all files and directories under a particular path. We need this so we can tell what dirs and files need to be added.

vss_files
        @files = $self->vss_files;

    returns a list of all files (not projects) that get_vss_file_list() loaded.

vss_file_is_deleted
    Returns 1 if the file is a deleted file.

    NOTE: in VSS a file may be deleted and not deleted at the same time! Thanks to Dave Foglesong for pointing this out.

vss_file_is_active
    Returns 1 if the file is an active (undeleted) file.

    NOTE: in VSS a file may be deleted and active at the same time! Thanks to Dave Foglesong for pointing this out.

COPYRIGHT
Copyright 2000, Perforce Software, Inc. All Rights Reserved.

This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp.

POD ERRORS
Hey! The above document had some coding errors, which are explained below:

Around line 29:
    '=item' outside of any '=over'

Around line 417:
    You forgot a '=back' before '=head1'