VCP::Utils::vss3pm
Utilities for dealing with the vss command
Usage
use VCP::Utils::vss ;
Overview
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.
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.