Max Kanat-Alexander > VCI-0.1.1 > VCI::VCS::Svn

Download:
VCI-0.1.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Report a bug
Module Version: 0.1.1   Source   Latest Release: VCI-0.5.2

NAME ^

VCI::VCS::Svn - The Subversion implementation of VCI

DESCRIPTION ^

This is a "driver" for VCI for the Subversion version-control system. You can find out more about Subversion at http://subversion.tigris.org/.

For information on how to use VCI::VCS::Svn, see VCI.

CONNECTING TO A SUBVERSION REPOSITORY ^

For the repo argument to "connect" in VCI, pass the same URL that you'd pass to your SVN client, without the actual branch name. That is, pass a URL to the very root of your repository.

For example, if I have a project called Foo that I store in svn.domain.com/svn/repo/Foo then the repo would be svn://svn.domain.com/svn/repo/.

Local Repositories

Though Subversion itself doesn't allow relative paths in file:// URLs, VCI::VCS::Svn does. So file://path/to/repo will be interpreted as meaning that you want the repo in the directory path/to/repo.

In actuality, VCI::VCS::Svn converts that to an absolute path when creating the Repository object, so using relative paths will fail if you are in an environment where "abs_path" in Cwd fails.

REQUIREMENTS ^

VCI::VCS::Svn requires at least Subversion 1.1, and the SVN::Client perl modules that ship with Subversion must be installed.

LIMITATIONS AND EXTENSIONS ^

These are limitations of VCI::VCS::Svn compared to the general API specified in the VCI::Abstract modules.

VCI::VCS::Svn::Commit

PERFORMANCE ^

VCI::VCS::Svn performs well with both local and remote repositories, even when there are large numbers of revisions in the repository. We use the API directly in C (via SVN::Client), so there is no overhead of actually using the svn binary.

Some optimizations are not implemented yet, though, so certain operations may be slow, such as searching commits by time. This should be easy to rectify in a future version, particularly as I get some idea from users about how they most commonly use VCI.

SEE ALSO ^

VCI

BUGS ^

VCI::VCS::Svn is very new, and may have significant bugs. The code is alpha-quality at this point.

AUTHOR ^

Max Kanat-Alexander <mkanat@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2007 by Everything Solved, Inc.

http://www.everythingsolved.com

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