PANT::Svn - PANT support for subversion operations
use PANT; $svn = Svn(); $svn->Run("svn update"); if ($svn->HasUpdates()) { # increment version # run a build etc. }
This is part of a module to help construct automated build environments. This part is for help processing svn operations.
This module is part of a set to help run automated builds of a project and to produce a build log. This part is designed to provide support for svn. Most svn operations can be simply run as Command's from the main module, but occasionally you want to know if something has changed. For instance you may not want to run an auto build if nothing has changed since last time.
None
Constructor for a test object. Requires an XML::Writer object, which it will use for subsequent log construction. The PANT function SVN calls this constructor with the current xml stream. So normally you would call it via the accessor.
This command will run the given svn command, and will collect the output, pass it to the log stream, and analyse it too.
This is a boolean function that tells you if the last Run command detected any updates to the archive.
This is a boolean function that tells you if the last Run command detected any local uncommitted updates to the the archive.
This is a boolean function that tells you if the last Run command detected any conflicts.
Makes use of XML::Writer to construct the build log.
Julian Onions, <julianonions@yahoo.nospam-co.uk>
Copyright 2005 by Julian Onions
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install PANT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PANT
CPAN shell
perl -MCPAN -e shell install PANT
For more information on module installation, please visit the detailed CPAN module installation guide.