Install subversion 1.4.6 + its perl bindings (for git-svn)
[git/jnareb-git.git] / lib / perl5 / site_perl / 5.8.8 / msys / SVN / Repos.pm
blobb9e836e426a03908c86387e662272efaf8f2b223
1 use strict;
2 use warnings;
4 package SVN::Repos;
5 use SVN::Base qw(Repos svn_repos_);
7 =head1 NAME
9 SVN::Repos - Subversion repository functions
11 =head1 SYNOPSIS
13 require SVN::Core;
14 require SVN::Repos;
15 require SVN::Fs;
17 my $repos = SVN::Repos::open ('/path/to/repos');
18 print $repos->fs->youngest_rev;
20 =head1 DESCRIPTION
22 SVN::Repos wraps the functions in svn_repos.h. The actual namespace
23 for repos object is _p_svn_repos_t.
25 =head2 CONSTRUCTORS
27 =over
29 =item open ($path)
31 =item create ($path, undef, undef, $config, $fs_config)
33 =back
35 =head2 METHODS
37 Please consult the svn_repos.h section in the Subversion
38 API. Functions taking svn_repos_t * as the first inbound argument
39 could be used as methods of the object returned by open or create.
41 =cut
43 package _p_svn_repos_t;
45 my @methods = qw/fs get_logs get_commit_editor get_commit_editor2
46 path db_env lock_dir
47 db_lockfile hook_dir start_commit_hook
48 pre_commit_hook post_commit_hook
49 pre_revprop_change_hook post_revprop_change_hook
50 dated_revision fs_commit_txn fs_begin_txn_for_commit
51 fs_begin_txn_for_update fs_change_rev_prop
52 node_editor dump_fs load_fs get_fs_build_parser/;
54 for (@methods) {
55 no strict 'refs';
56 *{$_} = *{"SVN::Repos::$_"};
59 =head1 AUTHORS
61 Chia-liang Kao E<lt>clkao@clkao.orgE<gt>
63 =head1 COPYRIGHT
65 Copyright (c) 2003 CollabNet. All rights reserved.
67 This software is licensed as described in the file COPYING, which you
68 should have received as part of this distribution. The terms are also
69 available at http://subversion.tigris.org/license-1.html. If newer
70 versions of this license are posted there, you may use a newer version
71 instead, at your option.
73 This software consists of voluntary contributions made by many
74 individuals. For exact contribution history, see the revision history
75 and logs, available at http://subversion.tigris.org/.
77 =cut