NAME

SVN::S4::ViewSpec - behaviors related to viewspecs

SYNOPSIS

Scripts: use SVN::S4::ViewSpec; $svns4_object->parse_viewspec(filename=>filename, revision=>revision); $svns4_object->apply_viewspec(filename=>filename);

DESCRIPTION

SVN::S4::ViewSpec implements parsing viewspec files and performing the svn updates and svn switches required to make your working copy match the viewspec file.

For viewspec documentation, see s4.

METHODS

$s4->parse_viewspec(parse_viewspec(filename=>filename, revision=>revision);

Parse_viewspec reads the file specified by FILENAME, and builds up a list of svn actions that are required to build the working area.

The revision parameter is used as the default revision number for all svn operations, unless the viewspec file has a "rev NUM" clause that overrides the default.

$s4->apply_viewspec

For each of the svn actions, perform the actions. An example of an action is to run svn switch on the Foo directory the the URL Bar at revision 50.

DISTRIBUTION

The latest version is available from CPAN and from http://www.veripool.org/.

Copyright 2005-2013 by Bryce Denney. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.

AUTHORS

Bryce Denney <bryce.denney@sicortex.com>

SEE ALSO

SVN::S4, s4