NAME

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

VERSION

version 0.038

FUNCTIONS

svn_update(dir => '/some/path')

Updates the working copy at the specified directory to the HEAD revision.

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 not affect on any working copy.

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

Returns the repository URL for the corresponding working copy path. If the path is not part of a working copy, an exception will be thrown.

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.