ClearCase::SyncTree

ClearCase::SyncTree is a Perl module that can synchronize a tree of files with a tree of elements.
Download

ClearCase::SyncTree Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Boyce
  • Publisher web site:
  • http://search.cpan.org/~dsb/

ClearCase::SyncTree Tags


ClearCase::SyncTree Description

ClearCase::SyncTree is a Perl module that can synchronize a tree of files with a tree of elements. ClearCase::SyncTree is a Perl module that can synchronize a tree of files with a tree of elements.SYNOPSIS # Create a 'synctree' object. my $sync = ClearCase::SyncTree->new; # Tell it where the files are coming from ... $sync->srcbase($sbase); # Tell it where they're going to ... $sync->dstbase($dbase); # Supply the list of files to work on (relative or absolute paths). $sync->srclist(keys %files); # Compare src and dest lists and figure out what to do. $sync->analyze; # Create new elements in the target area. $sync->add; # Update existing files which differ between src and dest. $sync->modify; # Remove any files from dest that aren't in src. $sync->subtract; # Check in the changes. $sync->checkin;See the enclosed synctree script for full example usage.This module provides an infrastructure for programs which want to synchronize a set of files, typically a subtree, with a similar destination subtree in VOB space. The enclosed synctree script is an example of such a program.The source area may be in a VOB or may be a regular filesystem; the destination area must be in a VOB. Methods are supplied for adding, subtracting, and modifying destination files so as to make that area look identical to the source.Symbolic links are supported, even on Windows (of course in this case the source filesystem must support them, which is only likely in the event of an MVFS->MVFS transfer). Note that the text of the link is transported verbatim from source area to dest area; thus relative symlinks may no longer resolve in the destination. Requirements: · Perl


ClearCase::SyncTree Related Software