~svn/ubuntu/raring/subversion/ppa

« back to all changes in this revision

Viewing changes to subversion/bindings/swig/perl/native/Repos.pm

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:26:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205012614-qom4xfypgtsqc2xq
Tags: 1.2.3dfsg1-3ubuntu1
Merge with the final Debian release of 1.2.3dfsg1-3, bringing in
fixes to the clean target, better documentation of the libdb4.3
upgrade and build fixes to work with swig1.3_1.3.27.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
 
3
 
 
4
package SVN::Repos;
 
5
use SVN::Base qw(Repos svn_repos_);
 
6
 
 
7
=head1 NAME
 
8
 
 
9
SVN::Repos - Subversion repository functions
 
10
 
 
11
=head1 SYNOPSIS
 
12
 
 
13
    require SVN::Core;
 
14
    require SVN::Repos;
 
15
    require SVN::Fs;
 
16
 
 
17
    my $repos = SVN::Repos::open ('/path/to/repos');
 
18
    print $repos->fs->youngest_rev;
 
19
 
 
20
=head1 DESCRIPTION
 
21
 
 
22
SVN::Repos wraps the functions in svn_repos.h. The actual namespace
 
23
for repos object is _p_svn_repos_t.
 
24
 
 
25
=head2 CONSTRUCTORS
 
26
 
 
27
=over
 
28
 
 
29
=item open ($path)
 
30
 
 
31
=item create ($path, undef, undef, $config, $fs_config)
 
32
 
 
33
=back
 
34
 
 
35
=head2 METHODS
 
36
 
 
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.
 
40
 
 
41
=cut
 
42
 
 
43
package _p_svn_repos_t;
 
44
 
 
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/;
 
53
 
 
54
for (@methods) {
 
55
    no strict 'refs';
 
56
    *{$_} = *{"SVN::Repos::$_"};
 
57
}
 
58
 
 
59
=head1 AUTHORS
 
60
 
 
61
Chia-liang Kao E<lt>clkao@clkao.orgE<gt>
 
62
 
 
63
=head1 COPYRIGHT
 
64
 
 
65
Copyright (c) 2003 CollabNet.  All rights reserved.
 
66
 
 
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.
 
72
 
 
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/.
 
76
 
 
77
=cut
 
78
 
 
79
1;