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

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.

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
$self->vss_file( $path );
$self->vss_file( $path, undef );      ## To mark as non-existant
$self->vss_file( $path, 1 );          ## To mark as existant
$self->vss_file( $path, "project" );  ## To mark as being a project

Accepts an absolute path with or without the leading $/ or / and returns TRUE if it exists in CVS.

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 29:

'=item' outside of any '=over'

Around line 271:

You forgot a '=back' before '=head1'