The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pinto::Util::Svn - Utility functions for working with Subversion

VERSION

version 0.015

FUNCTIONS

svn_mkdir(url => 'http://somewhere')

Given a URL that is presumed to be a location within a Subversion repository, creates a directory at that location. Any intervening directories will be created for you. If the directory already exists, an exception will be thrown.

svn_ls(url => 'http://somewhere')

Given a URL that is presumed to be a location within a Subversion repository, returns true if that location actually exists.

svn_checkout(url => 'http://somewhere' to => '/some/path')

Checks out the specified URL to the specified path. If the URL does not exist in the repository, it will be created for you. If the path already exists and it is a working copy for URL, an update will be performed instead.

svn_schedule(path => '/some/path')

Given a path to a directory or file within a Subversion working copy, recursively scans the directory for new or missing files and schedules them or addition or deletion from the repository. Any new file is added, and any missing file is deleted.

svn_add(path => '/some/path')

Schedules the specified path for addition to the repository.

svn_remove(path => $some_path)

Schedules the specified path (as a Path::Class) for removal from the repository. Any directories above the path will also be removed if all their children are scheduled for removal (i.e empty directories will be removed).

svn_commit(paths => \@paths, message => 'Commit message')

Commits all the changes to the specified @paths.

svn_tag(from => 'http://here', to => 'http://there')

Creates a tag by copying from one URL to another. Note this is a server-side copy and does no affect on any working copy.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Imaginative Software Systems.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.